Skip to main content
100%

Fork of Fork of Pie Chart

✓ Published0🌍 Public
AAishwarya Manjunath
Last edited Apr 29, 2022
Created on Apr 29, 2022
Forked from Fork of Pie Chart

This visualization displays the protein content of various cereals as a pie chart, with each slice colored by chest pain type and accompanied by a legend showing exact gram values. The chart uses D3 v5’s `pie` and `arc` generators to create SVG paths, with `scaleOrdinal` for slice colors. Data is loaded asynchronously from a CSV via `d3.csv` and processed in `getData.js`, while labels use `d3.format` to display compact gram measurements.

AI-generated description
MIT Licensed

Similar vizzes