Tableau embed - gives error
✓ Published0🌍 Public
Aantichaos
Last edited Jul 4, 2022
Created on Jul 4, 2022
This example embeds a Tableau public dashboard and demonstrates programmatic filtering through the Tableau Embedding API. The page includes three buttons that trigger JavaScript functions: one applies a filter to replace the state values with Washington and Oregon, another clears the State filter, and the third performs an undo action. The embedded visualization loads from a Tableau public URL with predefined filters for Category and State, displayed in a phone layout with a bottom toolbar. The code uses the `tableau-viz` web component and methods like `applyFilterAsync`, `clearFilterAsync`, and `undoAsync`.
AI-generated description