Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Apple stock price display

Public visualization

Fork of Apple stock price display

0 stars0🌍 Public
AAndrej38995
Last edited Apr 1, 2023
Created on Apr 1, 2023

This fork of the Apple stock price display visualizes historical stock values over time using an SVG line chart. A green-to-red linear gradient colors the line based on price range, and a hover interaction reveals a labeled circle showing the exact price at the cursor position. The visualization uses d3.v4 with d3.scaleTime, d3.scaleLinear, d3.axisBottom, d3.axisLeft, d3.line, and d3.bisector for mouse tracking. Data is loaded from a CSV file hosted on GitHub, and the chart updates dynamically via d3’s event handlers.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed