Bala_Nikhil_Pie_Chart
✓ Published1🌍 Public
A pie chart visualizes sales distribution by instrument family, using a dataset of musical instruments loaded from a GitHub Gist via `d3.csv`. The chart aggregates and sums numeric sales values with `d3.rollups`, then renders slices with `d3.pie` and `d3.arc`. Labels show percentages for slices above 5%, and a tooltip displays family name and percentage on hover. A legend with colored swatches and metrics sits beside the SVG, using the `d3.scaleOrdinal` color scale with `d3.schemeSet2` or `d3.schemeTableau10`.
AI-generated descriptionMIT Licensed