Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A week in San Francisco - Line chart

Public visualization

A week in San Francisco - Line chart

0 stars7🌍 Public
YYedrup
Last edited Jan 21, 2021
Created on Mar 11, 2020

This line chart displays a week of temperature data for San Francisco, plotting temperature against time over a seven-day period. The visualization uses a smooth, curved line to connect data points, with labeled axes for both time and temperature, alongside a clear title. The code imports functions from D3 v5, including `scaleTime`, `scaleLinear`, `line`, `axisLeft`, and `axisBottom`, to build the chart within an SVG canvas. The data is loaded from a CSV file and mapped to the time and temperature scales, with grid lines and a maroon stroke enhancing readability.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed