This is the simplest treemap diagram I could create. Let me know if you think I can make it tighter.
Build notes:
d.size
when moving from json to csv. While size
is a feature of my data, I had to now access it from d.data.size
.).paddingOuter(5)
highlights the hierachical grouping. Normally this is achieved via different colors in treemaps.From https://bl.ocks.org/denjn5/bb835c4fb8923ee65a13008832d2efed
https://d3js.org/d3.v4.min.js