Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
Jjjacobatandover
Last edited Jul 15, 2021
Created on Jul 15, 2021
Forked from Stylized Bar Chart

This bar chart displays the top 10 most populous countries using an inverted horizontal layout, with country names on the vertical axis and population values on the horizontal axis. The visualization uses React components to render SVG elements, with d3.scaleBand positioning the categorical axis and d3.scaleLinear mapping population values. The d3.csv loader fetches data from a GitHub Gist containing United Nations World Population Prospects 2019 data, while d3.format applies abbreviated tick labels that convert millions to billions. The chart includes styled tick marks, a Population axis label, and native SVG tooltips showing formatted values 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