Skip to main content
100%

Making a bar chart

✓ Published0🌍 Public
Aakiritoa
Last edited May 20, 2020
Created on May 20, 2020
Forked from Making a bar chart

This example shows a bar chart of population by country, using horizontal bars ordered from most to least populous. The visualization is built with React and D3 v5, using SVG rendering. The code employs D3’s `scaleLinear` and `scaleBand` for axes, `max` to compute the domain, and `axisLeft` and `axisBottom` to draw the chart’s scales. Data is loaded from a CSV file containing country names and population values.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes