Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatterplot

Public visualization

Fork of Scatterplot

0 stars0🌍 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

Comments

Sign in to join the discussion.

MIT Licensed