Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable_D3_Scatter_Plot.

Public visualization

Viewing a saved revision (read-only)

521ec1a885224d298d2619157b5a2ea3

Fork of Fork of Reusable_D3_Scatter_Plot.

0 stars2🌍 Public
KKarnisrikanth
Last edited Mar 26, 2023
Created on Mar 26, 2023

This example shows an interactive scatter plot of the Iris dataset, cycling through four different x-axis variables (petal width, sepal width, petal length, sepal length) on a timer using `setInterval`. The plot uses D3 v6’s `scaleLinear`, `axisLeft`, `axisBottom`, and `csv` loader, with circles colored by species (setosa, versicolor, virginica) via an inline switch. SVG circles are drawn with static positions, while a reusable `scatterPlot()` module updates axes and point placement, rendering in a React-free HTML page with custom CSS styling.

AI-generated description

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

See also React Starter.