Hacker News new | ask | show | jobs
by NTARelix 1054 days ago
A pie chart could serve a similar purpose, but can be much easier to interpret. I like this interactive pie chart for profiling Webpack bundle size. I've used it several times at work to help find and reduce bloat in our bundles.

https://alexkuz.github.io/webpack-chart/

3 comments

Given how horrifically bad people are at interpreting pie charts, that does not bode well for treemaps.

    "[Pie] charts are bad and that the only thing worse than one pie chart is lots of them"
    -Edward Tufte
https://scc.ms.unimelb.edu.au/resources/data-visualisation-a...

https://www.businessinsider.com/pie-charts-are-the-worst-201...

https://www.data-to-viz.com/caveat/pie.html

etc etc

Correction:

The chart I'm talking about has multiple names, but is not a simple pie chart. Thanks to funcDropShadow for pointing this out. The names: sunburst chart, multilevel pie chart, and radial treemap.

https://www.anychart.com/chartopedia/chart-type/sunburst-cha...

Your example is usually referred to as a sunburn chat. Although it shares all drawbacks of pie charts. Some would say sunburn chart make it even harder to correctly understand the relative size of elements than pie charts.