Skip to main content
๐ŸŒ Public

Share visualization

Send this visualization to others.

Olympics Line Chart in D3

Public visualization

Olympics Line Chart in D3

0 stars0๐ŸŒ Public
EEunice Tu
Last edited Feb 24, 2024
Created on Feb 24, 2024
Forked from D3 Starter

This example shows the opening price of Tesla stock over a one-year period from February 2023 to February 2024 as a single blue line. It uses d3.line to generate the path, with d3.scaleTime and d3.scaleLinear for the axes, and d3.axisBottom and d3.axisLeft to render them. The data is loaded from a remote CSV using d3.csv and parsed with d3.timeParse. The chart is drawn as an SVG with a steelblue stroke, includes labeled axes, and is titled "Tesla Stock - Open."

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed