🌍 Public
Viewing a saved revision (read-only)
599821010e4b4307af98e3a90634ed79
Fork of Bar Graph
A horizontal bar chart visualizes total car sales prices by vehicle type from a cleaned CSV dataset. The React app loads data with D3’s `csv` function and aggregates price values per type using a reduce operation. D3 `scaleBand` and `scaleLinear` map categories and sums to SVG rectangles. Axes are rendered with `axisBottom` and `axisLeft`, while CSS transitions support hover effects and a tooltip overlay.
AI-generated description