Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart Example

Public visualization

Viewing a saved revision (read-only)

506f810514c04771ad096ef026f726b1

Line Chart Example

0 stars1🌍 Public
Kkbrookshire420
Last edited May 10, 2022
Created on May 10, 2022

This line chart visualizes temperature in San Francisco over time, with a blue curve and circles marking the sample points. The chart’s axes and tick marks are generated using the D3.js v7 API, and the rendering is performed in React with SVG. The data is loaded directly from a CSV file using the `csv` function, and the visualization uses `scaleTime` for the x-axis and `scaleLinear` for the y-axis.

AI-generated description

A program that loads in some data using d3 utilities, and uses react state to keep track of the data.