🌍 Public
Viewing a saved revision (read-only)
1a7f3818da2949eebf4317ea6ac643a4
Activity 7: Pie Chart
This pie chart visualizes the distribution of smartphone categories from a CSV dataset. The visualization uses D3.js (v7) to compute slice arcs with `d3.pie()` and renders them as SVG paths using `d3.arc()`. A color scale from `d3.scaleOrdinal(d3.schemeTableau10)` distinguishes categories, while a legend and axis labels clarify the data. The chart also includes tooltips with category names and counts.
AI-generated description