🌍 Public
Viewing a saved revision (read-only)
7b46b03a44d84da887e2f2d1a2380d32
Temperature Trend for different country
This interactive line chart displays temperature changes over time for selected countries, with a dropdown menu to choose a country and a slider to filter the date range. The visualization uses D3 v7 to parse CSV data, generate SVG axes, and dynamically redraw the line path with `d3.line()` on user input. Data comes from a GitHub-hosted CSV file listing annual temperature values, rendered with green strokes and automatic y-axis scaling based on the selected country.
AI-generated descriptionA demonstration of how to start using D3 version 6.