Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Temperature in San Francisco: Line chart

Public visualization

Temperature in San Francisco: Line chart

0 stars2🌍 Public
MMauradion
Last edited May 12, 2021
Created on May 12, 2021
Forked from Cars Scatter Plot

This example visualizes a week of temperature readings in San Francisco using a line chart, encoding time on the x-axis and temperature on the y-axis. The chart is rendered as an SVG, with axes, grid lines, and a smooth curve generated by D3’s `line` generator with `curveBasis`. Data is loaded from a CSV file using `d3.csv`, and scales are created with `scaleTime` and `scaleLinear`. Axis labels and a title are added, while axis domains are removed to declutter the visual.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed