Line Chart
✓ Published1🌍 Public
A line chart displays San Francisco temperatures over the course of a week, plotted with a smooth curved line and circular markers for each data point. Built with React and D3 v5, it uses `d3.csv` to load the data, `d3.scaleTime` and `d3.scaleLinear` for the axes, and the `d3.line` generator with `curveNatural` to create the path. SVG rendering includes reusable axis and mark components, with hover tooltips via nested `<title>` elements.
AI-generated descriptionA scatter plot with line of San Fransico Temperature data: 'https://gist.githubusercontent.com/curran/90240a6d88bdb1411467b21ea0769029/raw/7d4c3914cc6a29a7f5165f7d5d82b735d97bcfe4/week_temperature_sf.csv';
MIT Licensed