Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Vertical Bar Chart

Public visualization

Viewing a saved revision (read-only)

3b5f278f2357436ca942ce6e57a60a20

Vertical Bar Chart

0 stars0🌍 Public
Jjudietrich
Last edited Oct 4, 2021
Created on Oct 2, 2021
Forked from Stylized Bar Chart

This vertical bar chart visualizes the ten most populous countries, using data from the United Nations World Population Prospects 2019. The visualization renders as an SVG via React, with bars drawn by the custom `Marks` component. Categorical country names are placed on the x-axis via `xScale`, while the `yScale` maps population values to bar heights. The chart uses `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis, with tick labels formatted using `d3.format`.

AI-generated description

A program that shows the top 10 most populous countries as a bar chart.

Data: United Nations World Population Prospects 2019.