🌍 Public
Viewing a saved revision (read-only)
9614b131515f454381a0338f33d434ab
Barchart
This bar chart visualizes BMW sales figures by model, using a static, vertical bar layout. Built with D3.js v7, the chart loads data from a CSV file via `d3.csv`, converts the sales values from strings to numbers, and renders the bars as SVG rectangles. The visualization includes a band scale for the categorical x-axis (`d3.scaleBand`) and a linear scale (`d3.scaleLinear`) for the y-axis, with axes generated using `d3.axisBottom` and `d3.axisLeft`. Hovering over a bar changes its fill from steel blue to orange.
AI-generated description