Skip to main content
100%

Fork of ICE - 7 Pie Chart

✓ Published0🌍 Public
SSnigdha6698
Last edited Mar 28, 2022
Created on Mar 27, 2022
Forked from ICE - 7 Pie Chart

This pie chart displays the number of users across different years, with each slice colored distinctly and accompanied by a legend showing the year and corresponding user count. The visualization loads comma-separated data from a GitHub gist URL using d3.csv, then applies the d3.pie and d3.arc generators to compute and draw the SVG paths. Colors are assigned via d3.scaleOrdinal with a fixed array, while the legend uses SVG rectangles and text elements positioned with translate transforms.

AI-generated description
MIT Licensed

Similar vizzes