Line with time temperature
✓ Published2🌍 Public
This example displays a line chart of temperature over time, using a smooth natural curve to connect weekly data points. The chart includes labeled axes for time and temperature, with a clean SVG rendering that emphasizes the trend. It uses React to structure the visualization and D3 v6 functions like `scaleTime`, `scaleLinear`, and `line().curve(curveNatural)` for data mapping and path generation. Data comes from a CSV file of San Francisco weekly temperatures, loaded with `d3.csv`.
AI-generated descriptionMIT Licensed