Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Viewing a saved revision (read-only)

de6832c0f6b44e43aa9d0f361c1b1e2c

Bar Chart

1 star3🌍 Public
Ssalwdata
Last edited Feb 18, 2020
Created on Feb 18, 2020
Forked from Bar Chart

This bar chart displays population estimates for a set of countries, with vertical bars sized proportionally to each value. The visualization loads data from a CSV file, parsing and scaling the population numbers before rendering. Built with React and D3 v5, the chart uses `d3.scaleBand` for the x-axis categories and `d3.scaleLinear` for the y-axis, while `d3.axisBottom` and `d3.axisLeft` generate gridlines. The SVG rendering includes a flipped coordinate system to draw bars upward, with steelblue fills styled via CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.