π Public
ICE - 7 Q2 11699544
This pie chart visualizes global smartphone sales share by brand for 150 rows of market data across countries. It aggregates sales by brand, showing the top 12 slices, with all remaining brands grouped into an "Others" slice. Using D3 v7's `pie`, `arc`, `scaleOrdinal`, and `schemeTableau10`, the chart labels each slice with its percentage and provides a legend. Data is loaded from `smartphone_market_share.csv` via `csv()`, with SVG output and a custom `labelArc` for placements.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.