Skip to main content
100%

Fork of D3 Starter

✓ Published0🌍 Public
Kkoppulasudhakar03@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025
Forked from D3 Starter

This visualization displays the number of registered vehicles per country as a horizontal bar chart, using a quantitative x-axis and categorical y-axis. The data comes from a CSV file listing ten nations with varying reference years. Built with React and D3 v5, the component loads the CSV using `d3.csv`, then maps values to scales using `scaleLinear` and `scaleBand`. Bars are rendered as SVG `<rect>` elements, while axes are constructed manually via `xLinear.ticks()` and D3’s `format` function, avoiding the built-in axis components.

AI-generated description
MIT Licensed

Similar vizzes