🌍 Public
Viewing a saved revision (read-only)
f46cdd4fdd594f3dbd6fe3993f3a7ea8
Fork of Fork of ICE - 7 Pie chart
This pie chart visualizes survey responses about people’s preferred social media platforms, displaying each category’s percentage share. The chart uses D3.js v5 with SVG rendering, fetching CSV data via `d3.csv` and constructing arcs with `d3.pie()` and `d3.arc()`. Each slice is labeled with its percentage, and a legend lists the platform names alongside color swatches and values. Colors are assigned using `d3.scaleOrdinal`, while text formatting relies on `d3.format`.
AI-generated description