Skip to main content
100%

Fork of Fork of Stylized Bar Chart

✓ Published0🌍 Public
Vvivekananth-code
Last edited Jan 25, 2021
Created on Jan 25, 2021

This example displays the top 10 most populous countries as a horizontal bar chart, with country names on the y-axis and population counts on the x-axis. The visualization uses React to render SVG elements, with d3.scaleBand and d3.scaleLinear for positioning, and d3.csv to load United Nations World Population Prospects 2019 data. The d3.format function customizes axis tick labels, while native SVG `<title>` elements provide tooltips on hover.

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