Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE - 7 Pie Chart

Public visualization

Viewing a saved revision (read-only)

66462c1f40754b55bf7672c105133ce0

Fork of ICE - 7 Pie Chart

0 stars0🌍 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