Skip to main content
100%

Fork of Fork of Adding Dropdowns Almost there fork of working...Fork 999 of Stylized Bar Chart

✓ Published0🌍 Public

This interactive bar chart shows immigration numbers for the top 10 most populous countries across selectable years from 2008 to 2019. A React dropdown menu lets users switch between annual data points, updating the bar heights accordingly. The visualization uses d3.scaleBand and d3.scaleLinear for positioning, with SVG rectangles rendered via React components. Data comes from the United Nations World Population Prospects 2019, loaded through d3.csv. Gridlines and axis labels are generated using d3 scale tick methods, while tooltips display formatted values 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