Stylized Line Chart
✓ Published0🌍 Public
This example visualizes temperature readings over time as a smooth, stylized line chart. The line is drawn with a natural curve using d3.line() and curveNatural, rendered as an SVG path in a React component. The chart displays axes with tick marks generated by custom AxisBottom and AxisLeft components, while d3.scaleTime and d3.scaleLinear map data to pixel coordinates. The data comes from a CSV file of San Francisco weekly temperatures, loaded via d3.csv, and the visualization omits individual data points to emphasize the line’s shape.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed