Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Francisco: line charts

Public visualization

Viewing a saved revision (read-only)

97cfaa8aaeeb4e69ad4dafd2a362bee6

Temperature in San Francisco: line charts

0 stars0🌍 Public
DDavid Sjoberg
Last edited Nov 26, 2019
Created on Nov 25, 2019

This visualization shows the evolution of temperature in San Francisco over time with a line chart. The data is loaded from a CSV file using `d3.csv`, with timestamps parsed as dates and temperatures as numbers. The chart uses `d3.scaleTime` and `d3.scaleLinear` to map data to SVG coordinates, `d3.axisLeft` and `d3.axisBottom` for labeled axes with white gridlines, and `d3.line` with `curveBasis` to draw a smooth yellow path.

AI-generated description

A bar chart representing the top ten happiest countries.