🌍 Public
Viewing a saved revision (read-only)
a9dc32df58ed47cb8afce082ac96ea33
Fork of 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