Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
MMajaha21
Last edited Apr 8, 2021
Created on Apr 8, 2021

This line chart displays a week of temperature readings in San Francisco, with time on the x-axis and temperature on the y-axis, using a smooth curved line. The visualization is rendered as an SVG using D3 v6, employing `d3.scaleTime`, `d3.scaleLinear`, `d3.line` with `curveBasis`, and axis components from `d3.axisBottom` and `d3.axisLeft`. Data is loaded from a CSV file via D3’s `csv` method, with timestamps parsed as dates and temperatures as numbers. Grid lines and axis labels are styled through CSS classes, and the chart includes a title and custom margins.

AI-generated description
MIT Licensed

Similar vizzes