gitbook-plugin-tableau

2.0.0 • Public • Published

Embedded Tableau Views

A Gitbook plugin for embedding Tableau visualizations using the Tableau Javascript API.

Install

Modify your book.json by adding tableau to plugins

{
    "plugins": ["tableau"]
}

Usage

{% tableau "https://public.tableau.com/views/Visual/Principles" %}
  {"hideTabs":true,
   "hideToolbar":true,
   "width": "100%",
   "height": "100%",
   "onFirstInteractive": "function(){console.log('Run this code when the viz has finished loading.');}"}  
{% endtableau %}
Default Options

See the full list of available options

{"hideTabs":true,
 "hideToolbar":true,
 "width": "100%",
 "height": "100%"}
Caveats
  • Make sure the body of the block is valid JSON
TODO
  • Make the defaults configurable
  • Allow passing an account token to the Tableau api

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i gitbook-plugin-tableau

    Weekly Downloads

    1

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • brianstaats