Fork of Stylized Line Chart
✓ Published0🌍 Public
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.
MIT Licensed