Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Task9&10

Public visualization

Task9&10

0 stars0🌍 Public
Mmounikakatipally995@gmail.com
Last edited Apr 28, 2024
Created on Apr 28, 2024

This interactive scatter plot visualizes the Iris dataset, cycling through different x-axis variables (petal width, sepal width, petal length, or sepal length) every few seconds while keeping sepal length on the y-axis. Data points are colored by species using hardcoded marker colors, with a legend and axis labels updated dynamically. Built with D3.js (v6), it uses `scaleLinear`, `axisLeft`, `axisBottom`, and `setInterval` to animate transitions, loading CSV data from a GitHub Gist and rendering as SVG with custom styling.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed