Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Bar Chart

Public visualization

Bar Chart

0 stars0🌍 Public
Ssalwdata
Last edited Feb 18, 2020
Created on Feb 18, 2020
Forked from Bar Chart

This bar chart visualizes population data for various countries, with each bar’s height representing a country’s population in billions. The graphic renders as an SVG using React, with D3 v5’s `d3.scaleBand` and `d3.scaleLinear` for positioning, and `d3.axisBottom` and `d3.axisLeft` for labeled grid lines. Data is loaded from a CSV file and transformed by multiplying values by 1000. The chart includes a flipped y-axis transform to draw bars upward, with steelblue styling and a light background.

AI-generated description

A bare minimum HTML page.

See also React Starter.

Comments

Sign in to join the discussion.

MIT Licensed