Skip to main content
100%

Fork of HTML Starter

✓ Published2🌍 Public
Aanjanipriyajillela@gmail.com
Last edited Mar 29, 2026
Created on Mar 1, 2026
Forked from HTML Starter

This horizontal bar chart compares sales volumes for eight BMW car models, including the M3, X1, i8, and 5 Series. Each model receives a distinct pastel-colored bar with its sales figure labeled at the bar’s end. The visualization uses D3.js v7 with an SVG rendering approach. Data is embedded directly in the script, and the chart applies `d3.scaleBand` for the categorical y-axis and `d3.scaleLinear` for the numerical x-axis, with axes generated by `d3.axisLeft` and `d3.axisBottom`.

AI-generated description
MIT Licensed

Similar vizzes