Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line and area charts

Public visualization

Viewing a saved revision (read-only)

24e6b0dd2e9c4d4fbd093daee2217cc1

Line and area charts

0 stars0🌍 Public
Nnouralkhoury
Last edited Sep 28, 2020
Created on Sep 28, 2020

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