Reusable D3 Scatter Plot.
✓ Published0🌍 Public
This reusable D3 scatter plot visualizes the Iris dataset, mapping petal and sepal dimensions for three species (setosa, versicolor, virginica) with distinct colors. A setInterval animation cycles through different x-axis attributes (petal_width, sepal_width, petal_length, sepal_length) every few seconds, updating the axes and point positions. Built with d3.scaleLinear, d3.extent, d3.axisLeft, and d3.axisBottom, the plot renders as an SVG with circles and includes custom legends and axis labels. The data comes from a CSV loaded via d3.csv.
AI-generated descriptionMIT Licensed