scatter -> line plot
✓ Published0🌍 Public
This example shows how a scatter plot of temperature over time transforms into a line plot by connecting the data points with a smooth path. The visualization uses React to render SVG elements, with d3.scaleTime and d3.scaleLinear for scaling, and d3.line with curveNatural for the connecting curve. Data comes from a CSV file of weekly San Francisco temperatures, loaded via d3.csv. Hovering over each circle reveals a tooltip showing the day of the week.
AI-generated descriptionA scatter plot of The Iris Dataset.
MIT Licensed