Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Line Chart with label

Public visualization

Line Chart with label

0 stars1🌍 Public
RRajat Dangat
Last edited Mar 31, 2021
Created on Mar 31, 2021

A step-shaped line chart displays Google stock closing prices (GOOGL) from March 2016 to March 2021, with a hover tooltip showing the exact price and date. The visualization uses React with SVG rendering, relying on d3.scaleTime and d3.scaleLinear for axes, d3.line with curveStep for the path, and d3.bisector for nearest-point lookup. Interactive tooltips are implemented through React state and mouse events, while the multiFormat time axis adapts its tick labels based on date granularity. Data loads asynchronously via d3.csv from a remote gist.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed