Skip to content

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

Notifications You must be signed in to change notification settings

bstaats/gitbook-plugin-tableau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published