Skip to main content
100%

ICE - 7(Pie Chart)

✓ Published1🌍 Public
PPrathyusha Jampala
Last edited Mar 13, 2023
Created on Mar 12, 2023
Forked from ICE - 7 Pie Chart

This visualization uses a pie chart to display the number of weeks that top Billboard artists have charted, with each slice representing an artist. The chart is rendered as an SVG using D3.js version 5, with the `d3.pie` API calculating arc segments and `d3.arc` generating the paths. A legend lists each artist alongside a color swatch and the corresponding week count. The data is loaded asynchronously from a CSV file hosted on GitHub using `d3.csv`. The code uses a custom ordinal color scale to assign distinct colors to each artist’s slice.

AI-generated description
MIT Licensed

Similar vizzes