gitbook-plugin-tableau
v2.0.0
Published
A Gitbook plugin for embedding public Tableau visualizations using the Tableau Javascript API
Downloads
2
Maintainers
Readme
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