Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q2 dinesh Line chart D3.js!

Public visualization

Viewing a saved revision (read-only)

6341b7b3353d459e9251ca9ab6936b64

Q2 dinesh Line chart D3.js!

0 stars0🌍 Public
Ddineshsingiri18@gmail.com
Last edited Oct 28, 2025
Created on Oct 28, 2025

This line chart visualizes the rise in average global temperature from 2000 to 2024, with yearly values plotted as a smooth monotone curve and marked by tomato-colored circles. The D3.js v7 code loads data from a CSV file using `d3.csv`, calculates linear scales with `d3.scaleLinear`, and renders axes via `d3.axisBottom` and `d3.axisLeft`. The chart is drawn as an SVG path with a steelblue stroke, while axes labels and a title are added as SVG text elements.

AI-generated description