Line Chart
✓ Published0🌍 Public
This example visualizes the GDP of a dataset over time as a smooth line chart. The chart maps yearly data points using a line path with natural curve interpolation, while axes are labeled for year and GDP. Built with React and D3 v5, it uses `scaleTime` for the x-axis and `scaleLinear` for the y-axis, rendering to SVG. The data is loaded from a CSV file via the `csv` function from D3, and the visualization omits individual data point circles, focusing solely on the trend line.
AI-generated descriptionA scatter plot of Data Canvas Sense Your City Dataset.
MIT Licensed