Skip to main content
100%

D3.v4 Sunburst chart with line focus on over

✓ Published0🌍 Public
TThanaporn-sk
Last edited Mar 17, 2017
Created on Mar 17, 2017

A D3.v4 sunburst chart displays hierarchical data as concentric arcs, with each segment’s size proportional to its value. On mouseover, the chart highlights the hovered node’s boundaries by extending dashed black lines outward from the arc’s start and end angles beyond the outer radius, then hides them on mouseout. The visualization uses `d3.partition`, `d3.arc`, linear and square-root scales, and the ordinal color scheme `d3.schemeCategory20`, rendering to SVG with the flare dataset. Interaction events bind via `.on('mouseover')` and `.on('mouseout')` to toggle line visibility.

AI-generated description

sunburst chart with extending line

forked from <a href='http://bl.ocks.org/caravinden/'>caravinden</a>'s block: <a href='http://bl.ocks.org/caravinden/f97ffb9930392af303f0a5f8e217aaa0'>D3.v4 Sunburst chart with line focus on over</a>

mit Licensed

Similar vizzes