Skip to main content
100%

Line Chart of Temperature in SF Scatter Plot with D3.js

✓ Published2🌍 Public
CCarloWK1202
Last edited Jul 7, 2022
Created on Jul 7, 2022

This visualization displays the temperature in San Francisco over time, using a red area chart with a smooth curve to emphasize the trend in temperature fluctuations. The chart includes labeled axes for time and temperature, with a clear title and gridlines to aid readability. The code uses D3.js version 7, specifically leveraging `scaleTime`, `scaleLinear`, `axisBottom`, `axisLeft`, and the `area` generator with `curveBasis` to render the SVG path. Data is loaded from an external CSV file, with timestamps and temperatures parsed for the visualization.

AI-generated description

Temperature in San Fransico Line Chart

MIT Licensed

Similar vizzes