Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar chart

Public visualization

Bar chart

0 stars2🌍 Public
Jjsong
Last edited Jan 14, 2020
Created on Jan 9, 2020
Forked from Bar chart

This bar chart displays the population of ten countries, with the United States listing 326,767 thousand people. The visualization uses D3 v5’s `scaleLinear` and `scaleBand` to map population values to horizontal bar lengths and country names to vertical positions. Data is loaded from a CSV file via `d3.csv` and rendered as SVG rectangles with steelblue fill. The chart includes axis labels generated by `axisLeft` and `axisBottom`, and the population values are multiplied by 1000 in a preprocessing step.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed