Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

CE-7 Q3

Public visualization

Viewing a saved revision (read-only)

9b21fc5a3fdd4e50a06dc3e72db12d94

CE-7 Q3

0 stars1🌍 Public
Yyashaswisanjanaaerra@my.unt.edu
Last edited Mar 31, 2025
Created on Mar 31, 2025
Forked from Fork of CE-7 Q2

This example shows the annual average temperature trend in India from 2000 to 2017 using an SVG line chart. The chart plots temperature values (ranging from roughly 29.6°C to 31.6°C) against years, with a steelblue line and labeled axes for "Year" and "Temperature (°C)". The code uses D3 v7's `d3.select`, `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.line` APIs to generate the axes and line path. The data is embedded directly as an array in the script, with the chart rendered in an SVG container sized 800 by 400 pixels.

AI-generated description