🌍 Public
Viewing a saved revision (read-only)
aa6d9655d7e649f3b4b9c0b05f0cbaaa
Fork of Fork of styling dropdown and working...Fork 999 of Stylized Bar Chart
Ssucotton9
Last edited Jul 22, 2021
Created on Jul 22, 2021
This interactive bar chart displays the top 10 most populous countries based on immigration numbers for a selected year from 2008 to 2019. A dropdown menu allows users to switch between years, updating the bar heights accordingly. Built with React and D3 v5, the visualization uses `scaleBand` for the categorical x-axis, `scaleLinear` for the y-axis, and SVG `<rect>` elements for the bars. Data is loaded as CSV from a GitHub gist and formatted using D3’s `format` API, with axis labels and tooltips providing context.
AI-generated descriptionA program that shows the top 10 most populous countries as a bar chart.