🌍 Public
Fork of React Starter
This interactive bar chart visualizes internet usage percentages across countries, with controls to filter by year and select the top 20, bottom 20, or countries surrounding a user-specified nation. Built with React and D3 v7, it renders an SVG using d3.scaleBand and d3.scaleLinear, and updates the chart via d3.select and data joins. Hovering over bars triggers a tooltip displaying the exact percentage, while input fields and dropdown menus drive the filtering logic. The data comes from a CSV file fetched with d3.csv.
AI-generated descriptionReact Starter code.
MIT Licensed
Comments
Sign in to join the discussion.