Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable Scatter plot Activity 8

Public visualization

Fork of Reusable Scatter plot Activity 8

0 stars0🌍 Public
CChaitanya Ratan Sree
Last edited Nov 6, 2024
Created on Nov 6, 2024

An animated scatter plot of the Iris dataset cycles through four floral measurements on the x-axis while hovering over the y-axis, with points colored by species. The visualization uses D3.js to load CSV data, apply linear scales, render SVG axes and circles, and update the chart every second via `setInterval`. A custom reusable `scatterPlot` function manages the chart structure, while the code dynamically adds axis labels, a color legend, and a title.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed