Line chart saranya
✓ Published1🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also [React Starter]https://gist.githubusercontent.com/MalempatiSaranya/38fd3a57a593a4173cf6c72b87bcff56/raw/8274ec3969ddde69e188ba28873a22e27a53c771/apple.csv
MIT Licensed