🌍 Public
Viewing a saved revision (read-only)
74a1e31a8211445485783fb4662c8a45
Fork of React & D3 Starter
This example visualizes EV range and price trends across 2020–2023 as a combined bar chart and line chart. Steelblue bars encode driving range against a left axis, while a red line shows average price against a right axis. The visualization is built with React and D3 v7, using `d3.csv` to load the dataset, `scaleBand` and `scaleLinear` for axes, and `d3.line` to generate the price path. It renders as an SVG with `axisBottom`, `axisLeft`, and `axisRight` for multi-scale comparison.
AI-generated description