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