Skip to main content
100%

Line Chart with Axis Tooltips

✓ Published0🌍 Public
RRajat Dangat
Last edited Apr 1, 2021
Created on Apr 1, 2021

This example shows a line chart of Google stock data, tracking daily closing prices over time. It uses a React-based SVG visualization with D3 scales for mapping data to coordinates. The chart features interactive axis tooltips that appear on mouse movement, displaying detailed date and price information. The code implements custom tooltip paths for both axes, uses d3.bisector for data lookup, and includes a multi-format time formatter for adaptive tick labels. The data source is a CSV file containing five years of historical stock data for GOOGL.

AI-generated description
MIT Licensed

Similar vizzes