🌍 Public
Viewing a saved revision (read-only)
28f4fe9b4c6849c19552d2c93d9020d5
Car Price by Brand_bar graph
This grouped bar chart compares average mileage and average price by car brand, using a dataset loaded from a GitHub Gist via `d3.csv`. The visualization uses `d3.scaleBand` for the grouped brand categories and sub-bands for the two metrics, with `d3.scaleLinear` mapping values to the y-axis. Bars are colored through `d3.scaleOrdinal`, and the SVG output includes axis labels, rotated brand names, and a legend. Hovering dims bars via CSS opacity.
AI-generated description