Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Stylized Bar Chart

Public visualization

Viewing a saved revision (read-only)

6355a1eadae34f00ba23a893c7e6959d

Stylized Bar Chart

0 stars1🌍 Public
AAkshay Khobragade
Last edited Dec 3, 2020
Created on Dec 1, 2020
Forked from Stylized Bar Chart

This example shows the top 10 most populous countries as a horizontal bar chart, using population data from the United Nations World Population Prospects 2019. The chart displays country names on the y-axis and population counts on the x-axis, with steel-blue bars and a headline title. It uses React for the component structure and D3 v5 APIs including `csv`, `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to load data, scale values, and render axes. The visualization is rendered as SVG within a fixed 960×500 viewport, with formatted tick labels converting values to billions.

AI-generated description

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

Data: United Nations World Population Prospects 2019.