Skip to main content
100%

Fork of Fork of Pie Chart

✓ Published0🌍 Public
RRahulSai05
Last edited Mar 29, 2022
Created on Mar 29, 2022
Forked from Fork of Pie Chart

This visualization displays people's top choices for social media usage as a pie chart, with each slice labeled by its percentage value. The code loads a CSV file from a Gist URL using `d3.csv` and renders the chart in SVG using D3 v5. The pie chart is drawn with `d3.pie` and `d3.arc`, with colors assigned via `d3.scaleOrdinal`. Legends at the right show each category with its name and corresponding percentage, also formatted using `d3.format`.

AI-generated description
MIT Licensed

Similar vizzes