Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Francisco Line Chart

Public visualization

Viewing a saved revision (read-only)

b0d5036d6ca04235a8eabd6c35934591

Temperature in San Francisco Line Chart

0 stars0🌍 Public
SSam Lite
Last edited Feb 25, 2020
Created on Feb 18, 2020

This line chart shows the temperature in San Francisco over a week, with each data point plotted as a semi-transparent circle that highlights in orange on hover. The code uses D3 v5’s `scaleTime` and `scaleLinear` to map timestamps and temperatures, with `axisBottom` and `axisLeft` rendering labeled axes and gridlines. Data is loaded via D3’s `csv` function from a remote dataset. The SVG visualization includes a title, axis labels, and a large margin layout, with styled tick text and hover effects defined in CSS.

AI-generated description