# TreeMap chart in Tableau - Tableau charts

> This is content from just-tim, the data-and-analytics channel by Tim Ngwena (formerly 'Tableau Tim'). Tim has 12+ years of hands-on BI experience and covers Tableau most of all, plus Power BI, Looker, Hex, SQL and data modelling, the analytics industry, and the craft of doing the job — always tool-agnostic and honest about the trade-offs.

- **Author:** Tim Ngwena (just-tim, https://just-tim.com/about)
- **Published:** 2022-10-04
- **Format:** Video · 2 min watch · transcript available
- **Topics:** Data visualisation
- **Tools:** Tableau (formatting)
- **Canonical:** https://just-tim.com/posts/treemap-chart-in-tableau-tableau-charts
- **Watch:** https://www.youtube.com/watch?v=OfC58tR9ejY

I build a tree map in Tableau in under two minutes, putting a measure on size and category on colour, then customising the colour palette and adding labels. I also show how reordering dimensions changes the tree map layout and how switching the mark type gives you a bubble chart for free.

## Key takeaways

- Create a tree map by dragging a measure to Size and a dimension to Colour while the mark type stays on Automatic
- Change the default colours via Edit Colors to pick a more suitable palette such as purple, pink and grey
- Add labels by dragging a dimension and a measure onto Label, or hold Ctrl/Cmd and drag
- Reorder dimensions in the hierarchy on the left to control the tree map's sort order and layout
- Switching the mark type from Square to Circle turns the tree map into a bubble chart

Watch the full video, read the transcript and use chapter deep-links on the page: https://just-tim.com/posts/treemap-chart-in-tableau-tableau-charts

---
just-tim — Data and analytics, with a point of view. · https://www.youtube.com/channel/UC7HYxRWmaNlJux-X7rNLZyw · https://twitter.com/TableauTim · https://www.linkedin.com/in/timngwena
