🌍 Public
Viewing a saved revision (read-only)
d2f8dade51cf41b394606cd07ea6a44d
Olympics Line Chart in D3
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