Internet Pie Chart
✓ Published0🌍 Public
A pie chart displays the distribution of user counts across three internet platforms: Instagram at 41, Facebook at 29, and YouTube at 29. The visualization uses D3.js v7 to compute the pie layout via `d3.pie()` and renders each slice as an SVG path with `d3.arc()`. Platform names are placed at each slice's centroid, and a separate HTML legend maps platform labels to their corresponding colors from `d3.schemeCategory10`. The chart is drawn inside a 500×500 pixel SVG element with margins applied to the radius calculation.
AI-generated descriptionMIT Licensed