🌍 Public
Viewing a saved revision (read-only)
39a42b94255d499fab535e9c90ff648e
Fork of pie chart
This fork of a pie chart shows the distribution of laptop sales by company, using aggregated quantities from a CSV dataset loaded via `d3.csv`. The visualization computes per-company totals, then renders a standard SVG pie with `d3.pie` and `d3.arc`, scaling colors with `d3.scaleOrdinal` and `schemeCategory10`. A single centered group translates the chart to the middle of a 600×450 canvas, with each slice’s fill mapped from the company name.
AI-generated description