Assignment-2(Question-1)
✓ Published0🌍 Public
This example shows the proportion of total car sales by model type as an SVG pie chart, with a legend on the right. It loads car sales data from a CSV file and aggregates units sold by model using `d3.rollup` and `d3.sum`. The chart uses `d3.pie` and `d3.arc` to generate the slices, with labels placed via `arc.centroid` and colors from `d3.scaleOrdinal` with `d3.schemeCategory10`.
AI-generated descriptionMIT Licensed