Skip to main content
100%

Fork of Fork of styling dropdown and working...Fork 999 of Stylized Bar Chart

✓ Published0🌍 Public
KK V VINITHA
Last edited Mar 4, 2022
Created on Mar 4, 2022

A dropdown menu selects a year from 2008 to 2019, and a bar chart displays the top 10 most populous countries for that year. The bars are rendered as SVG rectangles using React, with axes and tick marks generated by custom functions. The visualization uses D3.js version 5 for data loading and scales, and React for the component structure. The data comes from the United Nations World Population Prospects 2019. The chart includes a tooltip showing the population value when hovering over a bar, and the y-axis is formatted with suffixes like 'B' for 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.

MIT Licensed

Similar vizzes