Fork of Hello VizHub
✓ Published2🌍 Public
This D3.js pie chart visualizes the global smartphone market share from a CSV file, displaying each brand or model as a colored slice with a percentage label and a legend on the right. The chart loads data from a GitHub-hosted CSV, dynamically detects label and value columns, and optionally normalizes values to percentages. It uses `d3.csv`, `d3.pie`, `d3.arc`, `d3.scaleOrdinal` with the Tableau10 color scheme, and renders the visualization as an SVG. The code also demonstrates flexible CSV header detection and data preprocessing.
AI-generated descriptionMIT Licensed