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.

Line chart of hits per hour with the dotted baseline, in the sepia palette, as the line-chart extension draws it

Requirements

Requirement
TableauDesktop, Server or Cloud 2024.2 or later (Extensions API 1.12)
DataSummary data only: no manifest asks for full data
Not availablecandlestick-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

  1. Download the .trex of the chart you want from the latest release, or silverpoint-tableau-trex-X.Y.Z.zip with all of them.
  2. In a worksheet: Marks card → mark type → Viz Extensions → Add Extension → Access Local Viz Extensions, and choose the file.
  3. Drag fields onto the extension's tiles. While a required tile is empty, the chart says which ones to fill.
  4. 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 withArticle
An HTML page, a Node server or your own host30
Python, Jupyter or Databricks31
Flask or Django32
KNIME33
n8n34
Apache Superset35
Plone, with Volto or with Classic UI36
Power BI37
TableauThis 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