Fork of Fork of Adding Dropdowns Almost there fork of working...Fork 999 of Stylized Bar Chart
✓ Published0🌍 Public
Jjjacobatandover
Last edited Jul 22, 2021
Created on Jul 22, 2021
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 descriptionA program that shows the top 10 most populous countries as a bar chart.
MIT Licensed