Skip to main content
100%

Fork of Scatterplot

✓ Published0🌍 Public
Ssivaparchuri2000@gmail.com
Last edited Mar 25, 2025
Created on Mar 25, 2025
Forked from Scatterplot

This example visualizes the relationship between lung capacity and age, with each dot representing an individual and a hover tooltip revealing their disease type. Built with React and D3 v5, the scatterplot uses `scaleLinear` and `extent` to map the CSV data onto axes labeled "Age (years)" and "Lung Capacity." The code renders SVG elements via `React.createElement`, applies axes with `axisLeft` and `axisBottom`, and implements interactive tooltips using D3's `select` on mouse events.

AI-generated description
MIT Licensed

Similar vizzes