Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
YYuru-Liu
Last edited Feb 7, 2020
Created on Feb 7, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the top 10 most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses a horizontal bar layout with each bar’s length proportional to the country’s 2020 population, while the countries are listed on the y-axis. The chart is rendered as SVG using React, with D3.js’s `scaleBand`, `scaleLinear`, and `format` functions handling the scales and tick labels. Custom components (`AxisBottom`, `AxisLeft`, `Marks`) draw the axes and bars, and hovering over a bar reveals the population value via a tooltip.

AI-generated description

A program that shows the top 10 most populous countries as a pathetic bar chart with no axes.

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes