Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of United Nations Bar Chart with SVG

Public visualization

Fork of United Nations Bar Chart with SVG

0 stars0🌍 Public
JJyothicherukuri
Last edited Mar 5, 2022
Created on Feb 24, 2022

This horizontal bar chart ranks the ten most populous countries in 2020 using United Nations population data. Each bar is labeled with the country name, and the flag of each nation is displayed to the right of its bar. The visualization is built with React and D3 v7, using `scaleBand` for the y-axis, `scaleLinear` for the x-axis, and SVG `<rect>` elements to draw the bars. Flags are loaded as external SVG images via `xlink:href`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed