GitHub - bstaats/gitbook-plugin-tableau: A Gitbook plugin for embedding public Tableau visualizations using the Tableau Javascript API

Skip to content

Navigation Menu

Sign in

Appearance settings

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

About

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

Resources

Readme

Activity

Stars

2 stars

Watchers

1 watching

Forks

0 forks