Skip to main content
100%

yasmeen pie

✓ Published1🌍 Public
Yyasmeenha
Last edited Mar 12, 2023
Created on Mar 11, 2023
Forked from yasmeen pie

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 description

Pie chart for car sales

MIT Licensed

Similar vizzes