---
schema_version: "1"
id: 7a2249934e6a21c158dae7d8f9b14115e5d2d9de46a6f05daeacab9bb7fc58fb
title: MarksCollection | Tableau Embedding API
collection: tableau
version: current
locale: en-us
portal_url: https://docs.salesforce.com/tableau/current/en-us/api/embedding_api/reference/interfaces/MarksCollection.md
canonical_url: https://help.tableau.com/current/api/embedding_api/en-us/reference/interfaces/MarksCollection.html
source_site: help.tableau.com
content_type: documentation
content_hash: f0f4c0abfb6b5ba28efe3870274c5f47fe8714ecb9274b08fa989fb84919c74c
description: Documentation for Tableau Embedding API
---
- MarksCollection

# Interface MarksCollection

Represents a collection of marks on a viz. This collection could be marks that are either selected or highlighted.

interface MarksCollection {  
    [data](#data): [DataTable](https://help.tableau.com/current/api/embedding_api/en-us/reference/interfaces/DataTable.html)\[\];  
}

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/SelectionInterfaces.ts:9

##### Index

### Properties

[data](#data)

## Properties

### `Readonly`data[](#data)

data: [DataTable](https://help.tableau.com/current/api/embedding_api/en-us/reference/interfaces/DataTable.html)\[\]

#### Returns[](#returns)

A collection of data tables. Each row in each data table represents a single mark on the viz. Since marks can contain columns different than the columns of another mark, for example, a dual axis chart, each table represents one specific schema of a mark.

- Defined in packages/api-external-contract-js/src/ExternalContract/Shared/SelectionInterfaces.ts:15

### Settings

Member Visibility

- Protected
- Inherited
- External

ThemeOSLightDark

### On This Page

Properties

[data](#data)