Skip to main content
100%

Line Chart

✓ Published0🌍 Public
Ggayathrikavya
Last edited Mar 29, 2023
Created on Mar 29, 2023

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 description
MIT Licensed

Similar vizzes