Skip to main content
100%

Reusable Scatter Plot - Manasa

✓ Published0🌍 Public
MManasa891-git
Last edited Mar 29, 2023
Created on Mar 29, 2023

This interactive scatter plot, built with React and D3, visualizes the Iris dataset, mapping sepal and petal measurements. The visualization cycles through different x-axis columns—Petal Width, Sepal Width, Petal Length, and Sepal Length—at set intervals, while the y-axis remains Sepal Length. Each of the three Iris species (Setosa, Versicolor, and Virginica) is distinguished by color, with a legend identifying them. The plot uses D3's `scaleLinear`, `axisLeft`, and `axisBottom` for axes, and data is loaded via `d3.csv`. SVG circles represent the data points, and the animation uses `setInterval` to update the chart.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes