Skip to main content
Public

Share visualization

Loading preview…

Untitled

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

Untitled

0
Ssri7harsha
Last edited Mar 27, 2022
Created on Mar 27, 2022

This example displays a time-series line chart of stock prices from January 2017 to December 2022, with the price on the y-axis and the year on the x-axis. Using D3 v4 with SVG rendering, it loads data from a CSV file via `d3.csv`, parses dates with `d3.timeParse`, and constructs scales with `d3.scaleTime` and `d3.scaleLinear`. The line is drawn using `d3.line` with a cardinal curve, while axes are generated with `d3.axisBottom` and `d3.axisLeft`.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed