Skip to main content
100%

Convert Curran's Bar chart to Column Chart

✓ Published1🌍 Public
Wwenleicao
Last edited Sep 22, 2019
Created on Sep 22, 2019
Forked from Pathetic Bar Chart

This example displays the top 10 most populous countries as vertical bars, using a column chart format without axes or labels. The visualization loads population data from the United Nations World Population Prospects 2019 dataset via a CSV file. The React component fetches and processes the data with `d3.csv`, then renders SVG rectangles positioned using `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. The chart is built with d3.v5 and React 16.9, and the bar heights correspond to each country's 2020 population figures.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes