BigData / Tableau Interview Questions
What is a bin in Tableau, and how is it different from a histogram?
A bin is a field that groups a continuous measure into fixed-size ranges (buckets), turning something like exact ages into ranges such as 0–10, 10–20, 20–30, and so on.
Right-click [Age] -> Create -> Bins... -> Bin size: 10 -> produces a new field "Age (bin)" with values like 0, 10, 20...
- Creating a bin produces a new discrete field, which can then be used on Rows/Columns like any dimension.
- The bin size is configurable, and Tableau suggests a reasonable default based on the data's range and distribution.
A histogram is the chart built on top of bins — it's specifically a bar chart where the X-axis is a binned field and the Y-axis is a count (or other aggregation) of records falling into each bin. In other words: a bin is the underlying field/grouping mechanism, while a histogram is the specific visualization that displays those bins as bars, typically created automatically via the "Show Me" panel once a single measure is selected.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
