Skip to main content
Public

Share visualization

Loading preview…

Line and area charts

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

Line and area charts

1
Nnouralkhoury
Last edited Sep 28, 2020
Created on Sep 28, 2020
Forked from HTML Starter

This example visualizes the temperature in San Francisco over time using a line and area chart. It plots a smooth, maroon line to represent temperature changes across a time series, with axes labeled “Date” and “temperature” and a title “Temperature in San Francisco.” The visualization is built with D3 v6, using `scaleTime` and `scaleLinear` for scaling, `axisBottom` and `axisLeft` for axes, and `line` with `curveBasis` for the smoothed path. Data is loaded from a CSV file, with timestamps parsed as `Date` objects and temperatures as numbers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed