Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Making a bar chart

Public visualization

Viewing a saved revision (read-only)

b251272e4cb74e53bd7bd784505507f5

Making a bar chart

1 star3🌍 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.