Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

884cb7f9f487456789fd0ec9e80dd1ae

Stylized Bar Chart

0 stars0🌍 Public
TTom
Last edited Jan 5, 2020
Created on Jan 5, 2020
Forked from Stylized Bar Chart

This stylized bar chart displays the ten most populous countries using data from the United Nations World Population Prospects 2019. The visualization uses React components with D3’s `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, rendering SVG rectangles as bars. Axis ticks are generated manually with `xScale.ticks()` and formatted using `d3.format`. The chart includes a population axis label and uses a hover tooltip via the SVG `<title>` element to show exact values.

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.