Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Ramya - ICE-6

Public visualization

Viewing a saved revision (read-only)

f0e790c51e224ff5b74785826011d0f9

Ramya - ICE-6

0 stars0🌍 Public
RRamyapriyaPutta
Last edited Mar 6, 2022
Created on Mar 6, 2022
Forked from Stylized Bar Chart

This interactive bar chart displays the top 10 most populous countries for 2020, using data from the United Nations World Population Prospects 2019. Horizontal bars are ordered by country name, with population values formatted in billions along the x-axis. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis, `scaleLinear` for the numeric x-axis, and SVG `rect` elements to render each bar. Hovering over a bar reveals a tooltip with the formatted population value.

AI-generated description

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

Data: United Nations World Population Prospects 2019.