Reusable-1
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed