Skip to main content
100%

Temprature in San Fransisco

✓ Published1🌍 Public
AAjit Singh
Last edited Jan 1, 2021
Created on Jan 1, 2021

This example visualizes temperature readings in San Francisco over time, plotting each data point as a semi-transparent purple circle on a scatterplot. The chart uses D3 v5’s `scaleTime` and `scaleLinear` for the axes, with `axisBottom` and `axisLeft` generating gridlines and tick marks. The data is loaded via `d3.csv` from a remote dataset, parsed into `Date` objects and numeric temperatures, then rendered as SVG circles. The visualization also includes axis labels and a title, with margins and a fixed SVG canvas size of 960 by 500 pixels.

AI-generated description

An example including some commonly used features of SVG.

MIT Licensed

Similar vizzes