🌍 Public
Viewing a saved revision (read-only)
31471488c29040979a604527efa0c2aa
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