Fork of React & D3 Vibecoding Starter
✓ Published0🌍 Public
This example shows a React and D3 bar chart of BMW sales volumes across different models, using data loaded from a CSV file and rendered as SVG. The chart displays the average sales volume for each car model, with interactive bars that highlight and dim upon selection. It uses D3 v7 APIs such as `scaleBand`, `scaleLinear`, `axisBottom`, and `axisLeft` within a React component structure. The implementation leverages a `ResizeObserver` for responsive dimensions and D3 joins for rendering the bars and axes.
AI-generated descriptionMIT Licensed