🌍 Public
Viewing a saved revision (read-only)
ca11a6261aa4488182d5011224430533
Fork of Fork of activity7jaswanthquestion1
A pie chart depicts the rate of deaths across states in the United States. The chart uses D3’s `pie` function to compute arc segments, with colors assigned via `scaleOrdinal`. Each segment displays an SVG `path`, and a legend with colored rectangles and text pairs is rendered on the side. The data is loaded as CSV from a GitHub repository, with the `Deaths` values parsed as numbers and used to size the arcs.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.