Skip to main content
100%

My Line Chart with dropdown menu

✓ Published0🌍 Public
DDanilo De Rosa
Last edited Sep 30, 2021
Created on Sep 30, 2021
Forked from My Scatterplot

This interactive line chart visualizes daily PM10 emissions for various Italian municipalities during 2020. A dropdown menu allows users to switch between the different locations, and the line path animates smoothly to the new data when a selection is made. The chart is built using D3.js v6, which handles the SVG rendering, time-based x-axis scaling, linear y-axis scaling, and the dropdown's change event listener. The data is loaded from a CSV file fetched via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes