Skip to main content
100%

Sunburst Partition

✓ Published0🌍 Public
LLauraCortes
Last edited May 3, 2017
Created on May 3, 2017

A sunburst diagram displays the hierarchical structure of the Flare visualization library as a set of concentric, radial arcs. The center represents the root, with each ring deeper in the hierarchy and each arc’s angle reflecting a node’s value. Interactive radio buttons switch the partition’s metric between node count and node size. Built with D3.js v3, the visualization uses `d3.layout.partition` to compute the layout and `d3.svg.arc` for path geometry. Animated transitions between metrics are achieved with `transition().attrTween()`, which interpolates arc positions in data space. Data comes from the `flare.json` file.

AI-generated description

A sunburst is similar to the treemap, except it uses a radial layout. The root node of the tree is at the center, with leaves on the circumference. The area (or angle, depending on implementation) of each arc corresponds to its value. Sunburst design by John Stasko. Data courtesy Jeff Heer.

forked from <a href='http://bl.ocks.org/mbostock/'>mbostock</a>'s block: <a href='http://bl.ocks.org/mbostock/4063423'>Sunburst Partition</a>

forked from <a href='http://bl.ocks.org/LauraCortes/'>LauraCortes</a>'s block: <a href='http://bl.ocks.org/LauraCortes/0b98ce4f186ad389ced2c372db3e221d'>Sunburst Partition</a>

gpl-3.0 Licensed

Similar vizzes