Skip to main content
100%

BMW SALE World Map

✓ Published0🌍 Public
BBismark Kofi Owusu Sarfo
Last edited Oct 7, 2025
Created on Oct 7, 2025
Forked from Simple World Map

This interactive world map shows BMW sales volumes across six continental regions, using proportionally sized circles whose areas scale with total sales. Hovering over a circle reveals the exact regional sales total in units, while each marker displays its volume in thousands. The visualization leverages D3.js, including `geoNaturalEarth1` projection and `geoPath`, to render the map from TopoJSON data, while the sales data is processed from a CSV file and aggregated by region using `d3.rollup` and `d3.sum`. Circle radii are determined by a square-root scale to accurately represent differences in volume.

AI-generated description

BMW Continental Sales Volume World Map

This visualization shows BMW sales volumes across different continents on an interactive world map.

Features

  • Interactive Map: Displays sales volumes for BMW vehicles across six regions:

    • North America
    • South America
    • Europe
    • Africa
    • Asia
    • Middle East
  • Proportional Circles: Circle sizes are scaled proportionally to represent total sales volume in each region

  • Visual Feedback: Hover effects provide interactive feedback on both countries and sales markers

  • Labels: Each circle shows the sales volume in thousands (K)

  • Tooltips: Hover over circles to see exact sales volume numbers with region names

Technical Details

The visualization uses:

  • D3.js for data visualization and geographic projections
  • Natural Earth projection for a balanced world view
  • Square root scaling for circle areas to accurately represent volume differences
  • TopoJSON for efficient geographic data handling

Data

The visualization aggregates sales data from data.csv, summing the Sales_Volume column for each continental region.

Code Structure

  • index.js - Main entry point and data loading
  • map.js - Map rendering logic
  • dataProcessing.js - Data aggregation utilities
  • regionCoordinates.js - Geographic coordinate mappings
  • styles.css - Visual styling
MIT Licensed

Similar vizzes