Fork of Donut Chart
✓ Published2🌍 Public
This visualization uses an arc diagram to display the hierarchical composition of the Observable Flare dataset as a donut chart. Each ring segment represents a node, colored by its top-level category, with labels for smaller divisions. The chart is built with D3 v5’s `d3.partition` layout and `d3.arc` generator, rendering SVG paths and text elements. It loads data from the `@observablehq/flare` module and uses `d3.scaleOrdinal` with an interpolated rainbow palette for coloring.
AI-generated descriptionUn exemple pour le TP.
MIT Licensed