Scatter Plot-ICE7 from Reusable scatter plot
✓ Published0🌍 Public
This interactive scatter plot visualizes the Iris dataset, cycling through four flower measurements on the x-axis (petal width, sepal width, petal length, sepal length) while keeping sepal length fixed on the y-axis. It uses d3.csv for data loading, d3.scaleLinear for axes, and d3.axisLeft/axisBottom for rendering ticks. The animation, driven by setInterval, updates the scatter plot's x-value accessor. Points are colored by species (green for setosa, yellow for versicolor, red for virginica) with a custom legend. SVG rendering and an animation loop showcase the reusable scatterPlot chart function.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed