Skip to main content
100%

Reusable-1

✓ Published0🌍 Public
SSheela2930
Last edited Mar 29, 2023
Created on Mar 29, 2023

This example presents an animated scatter plot of the Iris dataset, cycling through different feature pairs on the x-axis (petal width, sepal width, petal length, sepal length) while the y-axis remains fixed. The visualization uses a custom reusable `scatterPlot` module built with D3.js (`scaleLinear`, `axisLeft`, `axisBottom`) to render SVG circles and axes. Points are colored by species (Iris-setosa in pink, Iris-versicolor in green, Iris-virginica in brown) with a legend and title. The animation updates the x-axis and plot data every interval, demonstrating a reusable chart component.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes