Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
JJONATHAN SIMON
Last edited Nov 15, 2021
Created on Nov 15, 2021
Forked from Stylized Bar Chart

This chart displays the top 10 most populous countries in 2020 as horizontal bars, sorted by population with a labeled x-axis and country names on the y-axis. It uses React with D3’s `scaleBand`, `scaleLinear`, `max`, and `format` to position and style SVG rectangles, with hover tooltips via SVG `<title>`. Data comes from the United Nations World Population Prospects 2019 CSV, loaded using `d3.csv`. The design features a teal color scheme and Poppins font, with axis ticks and labels styled through CSS.

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