Yearwise Car Sales Bar Chart
✓ Published0🌍 Public
This bar chart displays 1980 car sales figures for various automobile makes, with each car brand listed along the y-axis and its corresponding sales value represented by the horizontal bar length. The visualization uses React with D3 v5, employing `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and custom axis components for rendering ticks and labels. Data is loaded asynchronously via `d3.csv` from a GitHub-hosted CSV file, and SVG rectangles with tooltips display the values.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed