Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Global vs Local Temperature Multi-series line chart

Public visualization

Global vs Local Temperature Multi-series line chart

0 stars0🌍 Public
Sshabanasyed2266@gmail.com
Last edited Nov 5, 2025
Created on Nov 5, 2025
Forked from D3 Starter

This interactive visualization displays yearly average temperature trends for individual countries from 1750 to 2013, using a multi-series line chart with a dropdown menu to switch between countries. The D3.js v7 code loads CSV data, aggregates monthly records into yearly averages, and renders an SVG line chart with axes, dots, and hover tooltips. It uses d3.csv, d3.rollups, d3.scaleLinear, d3.line with curveMonotoneX, and d3.schemeTableau10 to color the selected country’s line.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed