Skip to main content
100%

Making a bar chart

✓ Published3🌍 Public
SSnivvy
Last edited May 19, 2020
Created on May 19, 2020
Forked from Hello VizHub

This example shows a horizontal bar chart of population estimates for eight countries, with country names on the y-axis and population values on the x-axis. The visualization uses D3 v5’s `scaleLinear`, `scaleBand`, and `axisLeft`/`axisBottom` to position bars and ticks within an SVG, loading data from a CSV file via `d3.csv`. React is listed as the framework, though the visible code relies on direct DOM selection. Bars are styled with a steelblue fill via CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes