🌍 Public
Stylized Line Chart
This stylized line chart visualizes San Francisco’s weekly temperature data, sourced from a CSV hosted on GitHub. The line uses a natural curve to connect data points, with axes displaying time on the horizontal axis and temperature on the vertical. Built with React and D3 v7, it leverages `d3.csv` for loading, `scaleTime` and `scaleLinear` for scaling, and `d3.line` with `curveNatural` for path generation. The SVG rendering includes React components for axes and marks, styled with the Poppins font.
AI-generated descriptionA program that loads in some data using D3 utilities, and uses React state to keep track of the data.
Plotting the SF temeprature dataset
MIT Licensed
Comments
Sign in to join the discussion.