Skip to main content
100%

Fork of Bowl of Fruit - General Update Pattern Special Cases

✓ Published1🌍 Public
KkfinnAmpel
Last edited Jan 25, 2021
Created on Jan 25, 2021

This example demonstrates the general update pattern for a d3 partition layout, rendering a sunburst diagram with animated transitions. The visualization uses d3.arc to generate both the visible arcs and invisible mouse-tracking arcs, with d3.partition and d3.hierarchy processing the hierarchical CSV data. Interactive mouseenter, click, and mouseleave events are bound to the invisible arcs, while the visible arcs transition smoothly using d3.transition. The color scheme uses d3.scaleLinear with d3.interpolateHsl to map data values to a red-white-blue gradient.

AI-generated description
MIT Licensed

Similar vizzes