Skip to main content
100%

CSCE- 5320: ICE-7 Reusable scatter plot

✓ Published0🌍 Public
NNaveenParitala
Last edited Mar 29, 2022
Created on Mar 29, 2022

This animated scatter plot explores the Iris flower dataset by cyclically rotating which of four measurements (petal width, sepal width, petal length, sepal length) is mapped to the x-axis every two seconds, while the y-axis remains fixed. The visualization distinguishes the three iris species using hardcoded colors (blue, lawngreen, orange) via a switch statement. It uses D3.js APIs including `csv`, `scaleLinear`, `axisLeft`, `axisBottom`, `extent`, and `join`, with a reusable `scatterPlot` module. Data is loaded from a GitHub Gist CSV, rendered as SVG circles with a custom font.

AI-generated description
MIT Licensed

Similar vizzes