Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

dv2020-ep24-viz24 - bar chart, stylized

Public visualization

dv2020-ep24-viz24 - bar chart, stylized

0 stars1🌍 Public
Zzach b.
Last edited Mar 16, 2023
Created on Mar 16, 2023

This bar chart displays the top 9 most populous countries in 2019, using horizontal bars sorted by population size. Styled with a bright yellow background and red tick labels, the chart highlights the distribution of populations across nations. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical y-axis and `scaleLinear` for the numeric x-axis, with data from the UN World Population Prospects 2019. SVG rendering includes custom axes and tooltips that format population values using D3’s `format` function.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed