New in 8: Javascript API pt. II

on March 8, 2013

In our last blog post you saw how we can use the new Javascript API in Tableau Public 8.0 to play and pause a viz and automate some of the filtering.

You can use the API to control any Tableau Public viz that you embed on your website, and you can use any interactive functionality you'd expect: filters, actions, mark selection, the list goes on. This lets you create seamless, integrated experiences that combine your viz with graphics, buttons and other text. In short, you can program Tableau.

For example, let's say you write an article about school dropout rates in the US state of Washington.

You might write about how overall, the dropout rate fell to 3.3 percent, but you'd like your readers to easily home in on King county, which had the lowest dropout rate of the entire state.

Then you want to call out two counties with high dropout rates: Both Clallam and Skamania counties saw dropout rates in 2011 over 20 percent (21 and 29 percent, respectively).

After that, you'll show a dashboard of complete summary statistics about Washington dropout rates.

And then give your readers the ability to to return to the interactive application.

And while you're at it, it's a good idea to give your readers a way to clear any selections that they've made.

You get the idea.

After the official release of Tableau Public 8.0, we'll upload a training video that talks about how to do some specific API functions, along with some official documentation about what's available.
JavaScript API documentation now available

Check out the rest of the New in 8 Series:

Part 1: Freeform Dashboard Design
Part 2: Floating Dashboard Content on Maps
Part 3: Treemap Bar Charts
Part 4: Bubble Charts
Part 5: Word Clouds
Part 6: Javascript API Pt. 1
Part 7: Groups, Filters and the Marks Card