Global BMW volume of sales on the World Map
This interactive D3.js world map visualizes BMW sales volumes across countries from 2010 to 2024, using choropleth coloring to distinguish high, medium, and low sales categories. Users can filter countries by sales volume through a dropdown and highlight markets with significant 7 Series sales via a checkbox, which outlines those countries in red. Hovering reveals a tooltip with sales details and top models. The visualization uses `d3.geoNaturalEarth1` projection, `d3.geoPath` for rendering map features from the world-atlas TopoJSON, and processes synthetic sales data distributed across representative countries per region.
AI-generated descriptionBMW Regional Sales World Map - Interactive Dashboard
An interactive D3.js visualization showing BMW sales volumes across the world by country (2010-2024).
Features
Interactive Elements
Hover Tooltips: Hover over any country to see:
- Country name
- Total sales volume
- Top 3 selling models with volumes
- 7 Series sales percentage (highlighted in yellow)
Volume Filter Dropdown: Filter countries by sales volume:
- All Countries
- High (> 10M)
- Medium (5M - 10M)
- Low (< 5M)
7 Series Highlighter: Checkbox to highlight countries with significant 7 Series sales
- Markets are outlined in red (#ff6b6b)
- Useful for identifying key 7 Series markets
Color Coding
- Dark Blue (#1f77b4): High sales (> 10M)
- Orange (#ff7f0e): Medium sales (5M - 10M)
- Green (#2ca02c): Low sales (< 5M)
- Light Gray (#e0e0e0): No data
Data Distribution
Sales data from regional entries is distributed across representative countries:
- Asia: China, India, Japan, South Korea
- North America: USA, Canada, Mexico
- Europe: Germany, UK, France, Italy, Spain
- South America: Brazil, Argentina, Chile
- Middle East: UAE, Saudi Arabia, Turkey
- Africa: South Africa, Nigeria, Egypt
Files
index.html- HTML structure with interactive controlsscript.js- D3.js visualization and interactivity logicdata.csv- BMW sales data (2010-2024)
Usage
- Open
index.htmlin a web browser - Use the dropdown to filter by sales volume
- Check the "Highlight 7 Series Markets" checkbox to see which countries buy more 7 Series
- Hover over countries for detailed sales information