Skip to main content
100%

Stylized Bar Chart

✓ Published0🌍 Public
AAniketh-Samson
Last edited Mar 4, 2020
Created on Mar 4, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the ten most populous countries for 2020, using horizontal bars ordered by population size with a logarithmic-free linear scale. The visualization, built with React and D3 v5, renders as an SVG with labeled axes and hover tooltips showing population values in billions. The code initializes scales via `scaleBand` and `scaleLinear`, formats tick labels with `siFormat`, and loads data from the United Nations World Population Prospects 2019 CSV using the `csv` function. The chart emphasizes clean styling with custom tick colors and a Poppins font, while omitting gridlines for a minimal aesthetic.

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