1 BMW volume of sales
✓ Published2🌍 Public
This stacked bar chart displays BMW sales volumes per year, segmented by region. The code loads a CSV file and uses `d3.rollups` to aggregate the data by year and region, then renders the result as SVG bars via `d3.stack`. A custom color scale classifies regions by their total sales, from highest to lowest, and bars can be clicked to highlight individual regions.
AI-generated descriptionMIT Licensed