Reusable Scatter Plot
✓ Published0🌍 Public
DDeekshithVemula
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from Reusable Scatter Plot using iris data set
This reusable scatter plot visualizes the Iris flower dataset, showing petal width versus sepal length as colored circles representing species. The chart cycles through all four attribute combinations on the x-axis every few seconds using setInterval, with a legend identifying yellow, violet, and orange markers. Built with D3 v6, it uses d3.csv to load data, d3.scaleLinear for axes, and dynamically updates the scatterPlot function’s xValue property. The SVG rendering includes axis labels, a title, and manually positioned legend squares and text.
AI-generated descriptionMIT Licensed