Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Line Chart – ICE7

Public visualization

Reusable Line Chart – ICE7

0 stars3🌍 Public
Jjanisha30gowda@gmail.com
Last edited Oct 24, 2025
Created on Oct 24, 2025
Forked from D3 Starter

This reusable line chart visualizes average monthly temperatures in Dallas from 2015 to 2023, with each year’s temperature trend shown as a smooth, monotone curve. The chart uses D3 v7’s `d3.line()` with `curveMonotoneX` to generate the SVG path, along with `scaleLinear` for both axes. Gridlines are added via custom axis ticks, and the y-axis uses a fixed domain of 500 million to 1.5 billion, reflecting the dataset’s population values. The code reads from a CSV file and renders the visualization as an SVG element with a white background and shadow styling.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed