Skip to main content
100%

Activity 7_1

✓ Published0🌍 Public
Bbhargavipagolu2025@gmail.com
Last edited Nov 5, 2025
Created on Nov 5, 2025
Forked from Hello VizHub

This pie chart displays the market share of smartphone brands, using percentage labels for slices above 5% and a legend listing each brand alongside its count. The visualization is rendered as SVG using D3 v7, with the `d3.pie()` layout, `d3.arc()` for the path geometry, and `d3.scaleOrdinal` for categorical coloring. Data is loaded from a CSV file via `d3.csv()`, and the chart is positioned with a translated group. The code also adds generic X and Y axis labels, even though no axes are present.

AI-generated description
MIT Licensed

Similar vizzes