Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line chart saranya

Public visualization

Line chart saranya

0 stars1🌍 Public
MMalempatiSaranya
Last edited Jul 2, 2022
Created on Jul 2, 2022

This chart uses a line graphic to track the daily price of Apple stock over time. The graph is built with D3.js v4, using a time-scaled x-axis and a y-axis that starts at zero. The line is drawn with a linear gradient fill, shifting from blue to yellow. Hovering over the chart reveals a tooltip that shows the exact price at the cursor’s location, using a bisector to find the nearest data point. The data is loaded from a remote CSV file, and the visualization is rendered as an SVG.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed