Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatter Plot

Public visualization

Viewing a saved revision (read-only)

65a99d8f0ea24da18914d907c5feb194

Reusable Scatter Plot

0 stars1🌍 Public
GGayan Priyadarshana
Last edited Aug 24, 2023
Created on Aug 24, 2023
Forked from Scatter Plot New

A reusable scatter plot visualizes the Fisher Iris dataset, plotting sepal length on the y-axis against different flower measurements on the x-axis. Points cycle through petal_length, petal_width, sepal_width, and sepal_length every two seconds, updating the axis label and dot positions with animation. Built with React and D3 v7, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes, and `join` to update SVG circles. The CSV data is loaded via `d3.csv` from a remote GitHub source.

AI-generated description

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

See also React Starter.