Skip to main content
100%

Fork of pie chart ICE-7

✓ Published2🌍 Public
Sskmriyaz0786@gmail.com
Last edited Oct 25, 2025
Created on Oct 25, 2025
Forked from pie chart ICE-7

This chart shows the distribution of BMW car sales by model using a pie chart accompanied by a custom legend and percentage labels. The visualization uses D3.js v7 to load a CSV file from a GitHub gist, aggregate the data by model with `d3.rollup`, and generate the pie slices with `d3.pie` and `d3.arc`. Interactive tooltips reveal exact sales figures when hovering over each slice. The chart is rendered as SVG within a styled HTML container, and the color scheme is applied via `d3.scaleOrdinal` with the Tableau 10 palette.

AI-generated description
MIT Licensed

Similar vizzes