Skip to main content
100%

Pie Chart

✓ Published0🌍 Public
RRohith Reddy
Last edited Mar 30, 2023
Created on Mar 30, 2023
Forked from [TEST] Pie Chart

This pie chart displays COVID death rates per million for the top 20 states, using colored slices with labels and a corresponding legend that lists each state and its numerical value. The visualization is built with D3 v5, fetching data from a CSV via `d3.csv`, transforming it with `pie()` and rendering SVG paths using `arc()` and `arcGenerator.centroid`. Slice colors are assigned using `scaleOrdinal`, and the chart is presented on an SVG canvas with a fixed width and height.

AI-generated description
MIT Licensed

Similar vizzes