Skip to main content
Public

Share visualization

Loading preview…

Line Chart

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Line Chart

0
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