Q2
✓ Published1🌍 Public
This pie chart displays the share of total sales per year from a `company_performance.csv` file. The chart renders as an SVG and uses coordinates loaded from the file, which are parsed with `d3.timeParse` and grouped by year with `d3.rollup`. Slice paths are generated via `d3.pie` and `d3.arc`, while colors come from `d3.scaleOrdinal` with the `d3.schemeTableau10` palette. Labels are positioned using the arc centroid, and a legend lists each year. The document references the D3 library (v7.8.5) via a CDN and an external data source hosted on GitHub Gist.
AI-generated descriptionMIT Licensed