Fork of Stylized Line Chart
✓ Published0🌍 Public
This example visualizes weekly temperature data from San Francisco using a curved line chart built with React and D3 v5. The chart maps timestamps to the x-axis and temperature values to the y-axis, with the line rendered as an SVG path using d3.line() with curveNatural. Axis ticks are generated through custom React components—AxisBottom and AxisLeft—which scale the data using d3.scaleTime and d3.scaleLinear. Data loads asynchronously via d3.csv from the Data Canvas Sense Your City dataset, with styling applied through a Poppins font and teal color accents.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed