Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity 7: Pie Chart

Public visualization

Viewing a saved revision (read-only)

1a7f3818da2949eebf4317ea6ac643a4

Activity 7: Pie Chart

0 stars0🌍 Public
Oorusushanth2002@gmail.com
Last edited Apr 10, 2025
Created on Apr 10, 2025
Forked from Hello VizHub

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