Fork of PM2.5 For Selected Country
This visualization displays the PM2.5 air pollution trend for a selected country from 2010 to 2017, using data from a Kaggle dataset. A dropdown menu lets users choose a country, and the line chart updates accordingly with axes, labels, and a color legend. Built with React and D3 v5, it uses d3.csv for data loading, d3.nest to group by country, d3.scaleLinear and d3.line with curveBasis for rendering. The SVG rendering includes axis ticks, gridlines, and a colorLegend component built from the same D3 scales.