Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Line Chart

0 stars1🌍 Public
BBenjamín Salas Sadler
Last edited Dec 5, 2022
Created on Dec 5, 2022

This line chart visualizes temperature trends over time in San Francisco, using data from a week of hourly measurements. The visualization employs React components for rendering SVG elements, with d3.js utilities like `scaleLinear`, `scaleTime`, and `d3.line` with `curveNatural` to create a smooth path. Axes are built from custom components that generate tick marks and labels using d3's scale methods. The chart includes formatted weekday labels on the x-axis and a rotated y-axis label, with data loaded via d3's `csv` parser.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed