Skip to main content
100%

Temperature in San Francisco Line Chart

✓ Published1🌍 Public
Nnsadath
Last edited Dec 9, 2020
Created on Dec 9, 2020

A line chart displays temperature readings from San Francisco over a week, with time on the x-axis and temperature on the y-axis, using circular dots to mark each data point. The visualization is rendered as an SVG within a React framework, loading data from a CSV file via d3.csv. The code uses d3.scaleTime and d3.scaleLinear for the axes, d3.axisBottom and d3.axisLeft for tick marks, and d3.extent to compute domains, with a title and axis labels added as text elements.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes