Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Line Chart- Data Visualization

Public visualization

Viewing a saved revision (read-only)

2da6a4bb67df4def951aeee3da1dbcc2

Fork of Line Chart- Data Visualization

0 stars0🌍 Public
AAngel Alfredo
Last edited Jul 18, 2022
Created on Jul 18, 2022

This line chart displays Amazon stock prices over time, with the year on the x-axis and price on the y-axis. It uses d3.scaleTime and d3.scaleLinear to map the data, d3.axisBottom and d3.axisLeft for the labeled axes, and d3.line to generate the path. The data is loaded from a remote CSV file and parsed with d3.timeParse. The chart is rendered as SVG with gridlines from tickSize, axis labels, and styled line and text elements via CSS.

AI-generated description