Skip to main content
100%

Fork of Reusable_D3_Scatter_Plot.(11580431)

✓ Published0🌍 Public
Vviswak12
Last edited Mar 30, 2023
Created on Mar 30, 2023

This interactive scatter plot visualizes the Iris dataset, showing the relationship between petal and sepal measurements across three species. The visualization uses d3.scaleLinear, d3.axisLeft, and d3.axisBottom to render SVG axes and circles, with a setInterval that cycles the x-axis through four measurement columns every few seconds. The code imports data via d3.csv, applies custom color coding for species, and includes a legend with labeled points. A separate scatterPlot function encapsulates the chart's reusable structure.

AI-generated description

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

See also React Starter.

MIT Licensed

Similar vizzes