Skip to main content
100%

Interactive scatter plot

✓ Published1🌍 Public
Jjbruzzo
Last edited Oct 27, 2022
Created on Oct 27, 2022

A scatter plot uses the D3.js library to visualize the relationship between dew point and relative humidity, drawing each day of the weather dataset as a circle on an SVG canvas. The code creates linear scales for both axes, renders the axes with labels, and implements interactive hover effects that display a tooltip with the exact date, humidity, and dew point values using D3’s time parsing and formatting functions. React is loaded for potential integration, but the visualization itself is built with vanilla D3 selections and transitions.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes