Since version 2024.2, Tableau supports viz extensions: a new mark type on the Marks card that draws a web page with the worksheet's data. silverpoint-tableau brings one extension per chart, 55 in all, each with its own tiles (X, Value, Row…).
They are drawn by silverpoint's standalone script, silverpoint-embed.full.js from @silverpoint/embed 0.10.1 (we saw it in article 30), served together with the page from the repository's GitHub Pages.
Requirements
| Requirement | |
|---|---|
| Tableau | Desktop, Server or Cloud 2024.2 or later (Extensions API 1.12) |
| Data | Summary data only: no manifest asks for full data |
| Not available | candlestick-chart: it has five roles and a viz extension takes at most four tiles |
That is why there are 55 and not 56: the candlesticks do not fit in four tiles.
For authors
- Download the
.trexof the chart you want from the latest release, orsilverpoint-tableau-trex-X.Y.Z.zipwith all of them. - In a worksheet: Marks card → mark type → Viz Extensions → Add Extension → Access Local Viz Extensions, and choose the file.
- Drag fields onto the extension's tiles. While a required tile is empty, the chart says which ones to fill.
- Format Extension opens the chart's options, the view options (title, data table) and the appearance (ground, substrate, mode and palette). They are saved with the workbook.
For example, for a line chart of hits per hour: line-chart.trex, Hour on X, SUM(Hits) on Value and, for the dotted series, SUM(Baseline) on Secondary. The chart fills the worksheet, reads by keyboard, switches to precision mode under high contrast and, when there is a single dimension tile, selects the matching marks when you press Enter on an item.
The manifest declares one tile per role and the page that draws:
<manifest manifest-version="0.1" xmlns="http://www.tableau.com/xml/extension_manifest">
<worksheet-extension id="to.seraph.silverpoint.line-chart" extension-version="0.1.0">
<min-api-version>1.12</min-api-version>
<source-location>
<url>https://ecrespo.github.io/silverpoint-tableau/v0.1/index.html?chart=line-chart</url>
</source-location>
<encoding id="x">
<display-name>X</display-name>
<role-spec><role-type>discrete-dimension</role-type></role-spec>
<fields max-count="1"/>
</encoding>
<encoding id="value">
<display-name>Value</display-name>
<role-spec><role-type>continuous-measure</role-type><role-type>discrete-measure</role-type></role-spec>
<fields max-count="1"/>
</encoding>
<!-- … secondary … -->
</worksheet-extension>
</manifest>
The manifests are not written by hand: each tile comes from the roles in the host catalog. A dimension role takes a discrete dimension and a measure role, a continuous or discrete measure.
For administrators
The extensions use the network, because the page loads from GitHub Pages. On Tableau Server or Tableau Cloud, allow this URL under Settings → Extensions → Enable specific extensions:
https://ecrespo.github.io/silverpoint-tableau/v0.1/index.html
Each release line has its own folder (/v0.1/, /v0.2/…) that never changes once released, so a workbook keeps working after the next release. The page loads two scripts, both from that same origin (Tableau's Extensions API library and silverpoint's standalone file), and sends the worksheet's data nowhere.
End of the tour of the hosts
This article closes the hosts of silverpoint 0.11. In short:
| If you work with | Article |
|---|---|
| An HTML page, a Node server or your own host | 30 |
| Python, Jupyter or Databricks | 31 |
| Flask or Django | 32 |
| KNIME | 33 |
| n8n | 34 |
| Apache Superset | 35 |
| Plone, with Volto or with Classic UI | 36 |
| Power BI | 37 |
| Tableau | This one |
They all draw with the same engine, so a chart looks and reads the same in a Databricks notebook, in a Power BI report or on a Plone page.
Next
- The official guide: silverpoint in Tableau.
- The repository: ecrespo/silverpoint-tableau.
- Every integration, in the documentation's host table.