---
schema_version: "1"
id: 25c582dfee05613b10d49e414e140c44ec035569a360abf6a1247965e6741bf8
title: MarksCollection | Tableau Embedding API
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/api/embedding_api/reference/interfaces/MarksCollection.md
canonical_url: https://help.tableau.com/v0.0/api/embedding_api/en-us/reference/interfaces/MarksCollection.html
source_site: help.tableau.com
content_type: documentation
content_hash: 63901556267c0532dfe0456ea36a73c70a91dcfecb197739935bac4dd85ee9f5
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/v0.0/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/v0.0/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)