Skip to main content
100%

Making a Bar Chart

✓ Published2🌍 Public
Ggilbster
Last edited Dec 26, 2019
Created on Dec 26, 2019

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 description

See also React Starter.

MIT Licensed

Similar vizzes