🌍 Public
Viewing a saved revision (read-only)
91f6e845f2644f32b2a02a919939fe78
Fork of Stylized Line Chart
This example visualizes temperature readings over a week from the Data Canvas Sense Your City dataset, plotting time on the x-axis and temperature on the y-axis. The chart uses a smooth natural curve to connect data points, with styled axes and labels rendered in React and SVG. D3’s `scaleTime`, `scaleLinear`, `extent`, and `line` with `curveNatural` handle the data scaling and path generation, while custom React components build the axes and marks. The dataset is loaded as CSV and parsed with `d3.csv`.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.