This visualization displays BMW sales volumes across key world regions from 2010 to 2024 on an interactive world map. It uses a choropleth-like color scheme where countries are shaded based on aggregated sales data, but the code demonstrates a synthetic data-mapping approach: sales from each regional category (Asia, North America, Europe, South America) are evenly distributed across a predefined list of countries within those regions before being summed. The visualization is built with D3.js (v7) using the `d3.geoNaturalEarth1` projection and `d3.geoPath` to render country boundaries from TopoJSON. Hovering over a country triggers a tooltip, while the color scale uses custom thresholds to classify sales volumes into five distinct categories.
AI-generated description
Comments
Sign in to join the discussion.