Skip to main content
100%

Working with time

✓ Published1🌍 Public
SSai Phaltankar
Last edited May 30, 2022
Created on May 30, 2022

This chart shows how San Francisco temperatures vary over a week, using a line graph with a time-based x-axis and a linear y-axis for temperature. It is built with React and rendered as an SVG, using D3 v5 utilities like `scaleTime`, `scaleLinear`, and `line` with `curveNatural` to draw the smooth path. Data on CSS named colors is loaded from a CSV via `csv`, and axes are custom-drawn with gridlines. The chart includes axis labels for "Time" and "Temperature," and the line is styled with a teal stroke for clarity.

AI-generated description

A program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data.

MIT Licensed

Similar vizzes