Skip to main content
Public

Share visualization

Loading preview…

Reusable Area Chart – ICE7

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Reusable Area Chart – ICE7

1
Jjanisha30gowda@gmail.com
Last edited Oct 26, 2025
Created on Oct 26, 2025

This example visualizes the average yearly temperature in Dallas from 2015 to 2023, transforming a CSV file of monthly readings into a single trend line with a shaded area beneath it. The chart uses a monotone cubic interpolation curve to emphasize the gradual yearly shifts in climate data. The code relies on D3 v7 APIs such as `d3.scaleLinear`, `d3.area`, `d3.rollup`, `d3.curveMonotoneX`, and `d3.axisBottom` to construct the scalable vector graphic (SVG), which includes a steelblue fill, gridlines, and labeled axes for temperature and year.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed