Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

164
Views
Is it possible to set the height of a Tableau dashboard equal to zero using CSS?

I'm creating a website where I'm displaying data visualizations from Tableau Public. I'm embedding them using the HTML embed script. I'd like the dashboards to be hidden when the website loads at first and add a toggle button that shows the dashboard and collapses it. I was trying to achieve this by setting the height of the tableauPlaceholder to 0 .tableauPlaceholder { height: 0; } and then adding a class to it that sets the height to a fixed value, like this: .show-dashboard { height: 20rem } and give the button the functionality to toggle this class using JavaScript.

This approach didn't work because the Tableau graphic keeps showing even if the height is 0 . So, I'm wondering if it's even possible to set the height of a tableau embed to 0? Is there another approach to achieve this?

Thank you in advance

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!