Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
DDasbach.EJ
Last edited Jun 8, 2021
Created on Jun 8, 2021
Forked from Stylized Bar Chart

This example visualizes the top 10 most populous countries as a horizontal bar chart, using data from the United Nations World Population Prospects 2019. It shows population values for each country in billions, with a formatted x-axis and a "Population" axis label. The chart is built with React and SVG, using d3.scaleBand for the categorical y-axis and d3.scaleLinear for the quantitative x-axis. The code demonstrates custom axes and marks components, with a tooltip displaying the formatted population value.

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