Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart

Public visualization

Line Chart

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed