Skip to main content
100%

Hovers

✓ Published0🌍 Public
JJingxuan Yang
Last edited Feb 13, 2024
Created on Feb 13, 2024
Forked from Responsive Axes

A hoverable scatterplot maps bedroom count to living area square footage, with each point rendered as a semi-transparent circle against a light gray plot background. As the pointer moves over the chart, the code updates the state with the current cursor coordinates and draws two black crosshair lines extending from the hover point to the axes. The visualization uses D3 7.8.5 with a ResizeObserver to adapt the SVG to the container dimensions, and it applies linear scales for positioning.

AI-generated description
MIT Licensed

Similar vizzes