Skip to main content
100%

Activity-9_Task-1

✓ Published0🌍 Public
Ttharunramula@gmail.com
Last edited Apr 21, 2024
Created on Apr 21, 2024

This animated scatter plot displays the Iris dataset, cycling through four feature pairings (petal width, sepal width, petal length, and sepal length) on the x-axis while keeping sepal length on the y-axis. Colored circles represent the three iris species (setosa, versicolor, virginica) with a fixed legend. Built with D3.js, it uses `csv` for data loading, `d3.scaleLinear` for scaling, and `d3.axisLeft`/`d3.axisBottom` for axes, with a `setInterval` loop updating the x-value accessor to animate transitions. SVG rendering displays the full-screen plot with custom labels.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes