Skip to main content
100%

Axes

✓ Published0🌍 Public
Ddivinebooger
Last edited Jun 15, 2020
Created on Jun 15, 2020
Forked from Making a Bar Chart

A horizontal bar chart displays population figures for ten countries, using steel-blue bars. The visualization renders as SVG within a React framework, utilizing D3 v5 APIs like `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom`. Population data from `data.csv` is loaded via `csv`, multiplied by 1000, and formatted on the x-axis using `format` with a custom tick label that converts billions from gigabytes. The chart positions bars using a band scale for countries and a linear scale for population values.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes