Skip to main content
100%

Treemap 4.0

✓ Published0🌍 Public
FFrissAnalytics
Last edited Oct 5, 2018
Created on Oct 5, 2018

This treemap visualizes the hierarchical structure of the Flare dataset, with each leaf node represented as a rectangle sized by its numeric value and colored by its top-level category. A dropdown menu above the chart lets users dynamically switch between five tiling algorithms for the treemap layout. The example uses the `d3_hierarchy` treemap API, setting the tile method based on the selected option, and renders the result as SVG using `d3.csv` to load the data from flare.csv.

AI-generated description

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/6bbb0a7ff7686b124d80'>Treemap 4.0</a> and all praise, credit, and attribution belongs there. This fork simply adds a select box to demonstrate the new tile methods of d3_hierarchy.

forked from <a href='http://bl.ocks.org/timelyportfolio/'>timelyportfolio</a>'s block: <a href='http://bl.ocks.org/timelyportfolio/65458b68265fd35d2f68'>Treemap 4.0</a>

gpl-3.0 Licensed

Similar vizzes