Skip to main content
100%

Bar Chart

✓ Published0🌍 Public
Llanzosuarez
Last edited Jul 1, 2020
Created on Jul 1, 2020
Forked from Hello VizHub

This bar chart displays population figures for eight countries, with horizontal bars sized proportionally to each nation’s population. The visualization uses React with D3 v5, rendering SVG elements. The code loads data from a CSV file via `d3.csv`, then applies a `scaleLinear` for the x-axis and `scaleBand` for the y-axis categories. Axes are generated using `axisLeft` and `axisBottom`, while bars are appended through a D3 data join with steelblue fill styling.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes