Skip to main content
100%

Line Chart with HTML

✓ Published1🌍 Public
BBismark Kofi Owusu Sarfo
Last edited Sep 25, 2025
Created on Sep 25, 2025

This line chart shows BMW sales by region from 2018 to 2022, comparing Europe, USA, Asia, and Other Regions with color-coded lines and data point circles. Built with D3.js v7, it uses d3.line with curveMonotoneX, d3.scaleLinear for both axes, and d3.axisBottom/axisLeft with grid lines. A legend identifies each region, while simulated sales data is rendered as an SVG with responsive dimensions.

AI-generated description

BMW Regional Sales Line Chart

This visualization displays BMW sales across different regions from 2018 to 2022 using D3.js to create a multiple line graph.

How to View

Simply open index.html in any modern web browser to see the visualization.

Data Sources

Sales data is simulated for demonstration purposes:

  • Europe: Main market for BMW
  • USA: Significant market in North America
  • Asia: Rapidly growing market
  • Other Regions: Includes rest of the world

Implementation Details

  • Uses D3.js v7 for data visualization
  • Responsive line chart with grid lines
  • Color-coded regions with legend
  • Data points highlighted with circles
  • Axes with appropriate labels and formatting
MIT Licensed

Similar vizzes