Workbook representation example library
The Sigma programmatic API endpoints, including Create a workbook, Update a workbook from a code representation, and Get a workbook, require a specific format for the representation of the workbook. This example library shows examples of workbook representations for various configurations, using different element types and features in Sigma.
Consult these examples to:
- Troubleshoot the formatting of a particular feature in a code representation
- Relate a feature from the Sigma UI to its representation in code
- Provide context to AI assistants used to create workbooks from code
Example representations
To review a specific representation, search or browse the following examples:
| Category | Link | |
|---|---|---|
| Workbook with a table | Tables | View example |
| Workbook with a bar chart | Charts | View example |
| Workbook with a line chart | Charts | View example |
| Workbook with a KPI | Charts | View example |
| Workbook with a pie chart | Charts | View example |
| Workbook with a donut chart | Charts | View example |
| Workbook with a pivot table | Tables | View example |
| Workbook with a container | Layouts | View example |
| Workbook with a text element | UI elements | View example |
| Workbook with an area chart | Charts | View example |
| Workbook with a scatter chart | Charts | View example |
| Workbook with a combo chart | Charts | View example |
| Workbook with a divider | UI elements | View example |
| Workbook with an image | UI elements | View example |
| Workbook with a chart with stacking | Charts | View example |
| Workbook with a page background image | Workbook settings | View example |
| Workbook with a point map | Charts | View example |
| Workbook with a geography map | Charts | View example |
| Workbook with a region map | Charts | View example |
| Workbook with a chart with reference marks | Charts | View example |
To see the representation for a specific configuration or combination of features, you can create the workbook in the UI and then retrieve the representation using the Get a workbook endpoint with includeContents=true.

