🌍 Public
Viewing a saved revision (read-only)
2cf25d8d1311439393c9ef611b78e2be
Chandrashekhar Ramamurthi Pie chart
This example visualizes credit card limit data for ICE 07 across U.S. states using a pie chart, with each slice labeled by its value in thousands and accompanied by a color-coded legend. The chart is rendered in SVG using D3 v5, leveraging the `pie` and `arc` layout generators to compute slice geometry. Slice colors are assigned via `scaleOrdinal` from a hardcoded array, and data is loaded asynchronously from a raw GitHub CSV file using `d3.csv`. The visualization also employs `format` for tick label formatting and custom legend groups for readability.
AI-generated description