🌍 Public
working with time
A line chart displays temperature readings over a week in San Francisco, using a natural curve to connect daily data points. The visualization is built with React and D3 v5, leveraging `d3.scaleTime` and `d3.scaleLinear` for axes, while `d3.line` with `curveNatural` generates the smoothed path. Data is loaded as CSV from a remote gist, with timestamps parsed into JavaScript `Date` objects. Styled SVG elements include gray tick marks and teal strokes for the line, with axis labels rotated for clarity.
AI-generated descriptionstylized line chart . Click to see raw data
MIT Licensed
Comments
Sign in to join the discussion.