🌍 Public
Viewing a saved revision (read-only)
e586fb061f7d415aa628c1ccd4536d4e
Making a Bar Chart
This example shows a horizontal bar chart of the world’s ten most populous countries, with each bar’s length proportional to population in thousands. The React app uses D3 v5’s `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load data and render axes, while SVG `rect` elements are bound to the data via selections.
AI-generated descriptionSee also React Starter.