WP-TAB Tableau Public Viz Block
wptab By wptab

March 02, 2023

WP-TAB Tableau Public Viz Block Plugin

An easy way to embed Tableau Public Vizualizations into a WordPress page with basic embed options.

A Gutenberg Embed Block to embed Tableau Public Vizualizations into a WordPress page with basic options. Provides options to hide tabs, hide toolbar, set device and set dimensions of the Viz.

  • This plugin will only work for Tableau Public Visualizations i.e. you need to have a viz hosted on Tableau Public (What is Tableau Public).
  • This plugin uses the Tableau JS API to a)fetch and b)embed your Tableau Public Viz within your WordPress site.
  • The Tableau Public Data policy can be viewed here. Data on Tableau Public is expected to be public.
  • Tableau’s privacy policy can be viewed here
  • This plugin does not store the data anywhere in any format. It simply provides a user friendly way to pull a viz hosted on http://public.tableau.com and embed it into the site hosting the plugin.

All you need is your Tableau Public url e.g ‘https://public.tableau.com/views/WorldIndicators/GDPpercapita’

Usage:

  1. Click Add Block
  2. Under the Embed category, select the Tableau Public Viz Block.
  3. Paste your url in the block e.g ‘https://public.tableau.com/views/WorldIndicators/GDPpercapita’
  4. Set options in the block options or leave as is for defaults
    a. Toggle Hide tabs to hide tabs on the viz
    b. Toggle Hide toolbar to hide the toolbar on the viz
    c. Select Desktop/Tablet/Phone layout (must be actually available in the viz for this to work, see: https://help.tableau.com/current/pro/desktop/en-gb/dashboards_dsd_create.htm)
    d. Manually set Height and Width of the viz
  5. Optionally select the alignment from the block Toolbar
  6. Save and publish

Installation

  1. Upload wptab-tableau-public-viz-block folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Screenshots

  1. Find the block under Embeds

    Find the block under Embeds

  2. The main block input where you insert the Tableau Public URL

    The main block input where you insert the Tableau Public URL

  3. Available options

    Available options

  4. Selected options example

    Selected options example

FAQ

Coming soon.

Changelog

1.3

  • load tableau min js instead of normal to fix unexpected-response-error-upon-render

1.2

  • js bug fixes for null containers

1.1

  • Ability to add multiple blocks
  • Tested for WP V5.3

1.0

  • First release.

Details

  • Version: 1.3
  • Active installations: 400
  • WordPress Version: 5.2
  • Tested up to: 6.1.7

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars