Viewing a saved revision (read-only)
0d77bbf2eaea479283df6df8fd90052a
Agriculture
This visualization dashboard displays pollution trends across Indian states using two complementary chart types. A line chart tracks pollutant concentrations (SO2, NO2, RSPM, SPM, PM2.5) over time for a user-selected state via an interactive dropdown menu. Four bar charts compare average pollutant levels across all states. The D3.js code (v6) uses d3.csv to load data, d3.rollups for aggregations, d3.scaleOrdinal with d3.schemeCategory10 for coloring, and d3.axisBottom/axisLeft for scales, rendering all charts as SVG elements.
AI-generated descriptionThis illustration gies the visulisation realted to pollution in various states over the time.
Link to access the code: https://vizhub.com/Aashritha-S/0186adc9dcdd46a3bda130f142213e15