Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Viewing a saved revision (read-only)

e28ccd58efa44e8e95b84ceddbd384ea

Line Chart

0 stars2🌍 Public
ZZ-Richard
Last edited Jun 14, 2020
Created on Jun 14, 2020
Forked from Scatter Plot

This line chart displays the temperature in San Francisco over the course of a week, with time on the x-axis and temperature on the y-axis. The visualization uses the D3 v5 library to create a smooth, curved line through the data points, which are not individually marked. It loads data from a CSV file and renders the chart as an SVG, with styled axes, gridlines, and a title. The code employs D3 APIs such as `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and `line` with `curveBasis` to generate the smoothed path.

AI-generated description