yasmeen pie
✓ Published1🌍 Public
This example visualizes annual car sales for different companies as a pie chart, with each slice labeled by its sales value in thousands and accompanied by a color-coded legend. It uses D3 v5 to load CSV data via `d3.csv`, compute pie angles with `d3.pie`, render SVG paths with `d3.arc`, and apply a ordinal color scale. The data comes from a GitHub gist, and the chart is centered with a title.
AI-generated descriptionPie chart for car sales
MIT Licensed