Skip to main content
100%

Fork of Stylized Bar Chart

✓ Published0🌍 Public
PPrashant Kumar
Last edited Dec 17, 2023
Created on Dec 17, 2023
Forked from Stylized Bar Chart

This visualization presents a horizontal bar chart of the top ten most populous countries, using data from the United Nations World Population Prospects 2019. The chart displays population values on the x-axis with country names on the y-axis, rendered as SVG within a React application using D3.js v5 for scaling and axis generation. The code employs `scaleBand` for categorical y-axis positioning and `scaleLinear` with a `max` domain for the continuous x-axis. Styling is applied via CSS classes, and a tooltip showing the formatted population value appears on hover.

AI-generated description

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

Data: United Nations World Population Prospects 2019.

MIT Licensed

Similar vizzes