Making a Bar Chart
✓ Published2🌍 Public
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.
MIT Licensed