🌍 Public
Working with time
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 descriptionA program that loads in some data about CSS named colors using D3 utilities, and uses React to render the data.
MIT Licensed
Comments
Sign in to join the discussion.