Fork of ICE-7 Reusable Scatter Plot
✓ Published0🌍 Public
This animated scatter plot visualizes the Iris dataset, mapping petal length and sepal length on the x- and y-axes while coloring each circle by species (setosa, versicolor, virginica). Using D3 v6 APIs such as `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, it implements a reusable scatter plot function. Every two seconds, a `setInterval` cycles through different columns—petal_width, sepal_width, petal_length, sepal_length—switching the x-axis dimension and updating SVG circles via data joins.
AI-generated descriptionHere we are creating a reusable scatter plot using the Iris dataset https://gist.githubusercontent.com/sumitradevipolina/11be5165425884993b535e49dd475953/raw/2c55a6019ebac42c1dd92ddc642055f74b999b0c/iris.csv
MIT Licensed