Skip to main content
100%

bar graph

✓ Published1🌍 Public
Hharshithamiriyam@gmail.com
Last edited Mar 8, 2026
Created on Mar 7, 2026
Forked from React & D3 Starter

This bar graph shows the migration distance of birds categorized by their migration status, using a dataset from a CSV file. It uses D3.js v7 within a React 19 application to render an SVG chart with `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis. The code loads data via `csv`, applies axes with `axisLeft` and `axisBottom`, and draws steelblue rectangles for each bar, with a title and axis labels.

AI-generated description
MIT Licensed

Similar vizzes