Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ep. 24 | Stylized Bar Chart

Public visualization

Ep. 24 | Stylized Bar Chart

0 stars1🌍 Public
YYee Han
Last edited Aug 13, 2021
Created on Dec 24, 2020

This stylized bar chart displays the top 10 countries by projected 2020 population from the United Nations World Population Prospects 2019 dataset. Horizontal bars, rendered as SVG rectangles via React components, encode population values on a linear scale with a band scale for country names. D3’s `scaleLinear`, `scaleBand`, `max`, and `format` utilities handle scales and axis tick formatting, converting gigabytes to billions. The code also uses `csv` for data loading, custom `AxisBottom` and `AxisLeft` components, and a `Marks` component with `<title>` tooltips.

AI-generated description

A program that loads in some United Nations World Population Prospects 2019.

Comments

Sign in to join the discussion.

MIT Licensed