Skip to main content
100%

Scatter plot

✓ Published0🌍 Public
PPatric Tysk
Last edited Nov 15, 2021
Created on Nov 14, 2021
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, with population values on the x-axis and country names on the y-axis. The visualization is built with React and D3 v5, using `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendered as SVG rectangles. Data comes from the United Nations World Population Prospects 2019, loaded via `d3.csv`. Axis ticks and labels are generated with custom React components, and population values are formatted using D3’s `format` with SI prefixes.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes