Fork of Bar Graph
✓ Published0🌍 Public
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 descriptionMIT Licensed