Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Draw scatter plot

Public visualization

Draw scatter plot

0 stars0🌍 Public
Aadam.hsaine@gmail.com
Last edited Jan 20, 2025
Created on Jan 16, 2025

This React example generates a scatter plot with 50 randomly positioned points, rendered using the Recharts `ScatterChart` with `XAxis`, `YAxis`, and `CartesianGrid`. A button triggers regeneration of the data, while a custom `Tooltip` displays the exact X and Y coordinates on hover. The plot uses random numeric values between 0 and 100 for both axes, with the point count displayed dynamically.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed