Skip to main content
100%

Stylized Line Plot

✓ Published2🌍 Public
Llaurajchang
Last edited Apr 24, 2021
Created on Mar 15, 2021

This example visualizes daily temperature variations in San Francisco using D3.js and React. The line plot shows temperature trends over time, with semi-transparent circular markers highlighting individual data points and tooltips displaying dates on hover. The visualization implements the D3 margin convention, using `scaleTime` and `scaleLinear` for axes, `line` with `curveNatural` for the smooth path, and React components for rendering SVG elements. Data is loaded asynchronously via `csv` from a GitHub gist, with the chart styled using Montserrat font and custom axis colors.

AI-generated description

A program that loads in data about the temperature in San Francisco using D3 and uses React to render the data as a line plot. Implements the D3 margin convention & implements axes using D3 and React.

MIT Licensed

Similar vizzes