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
Hharinihari6791@gmail.com
Last edited Apr 10, 2025
Created on Apr 10, 2025

This visualization presents the classic Iris dataset as an animated scatter plot that cycles through different feature combinations on the x-axis while keeping sepal length on the y-axis. Using d3.csv for data loading and d3.scaleLinear with axis functions to render the SVG, the chart updates every few seconds via setInterval. Circles are colored by species using a custom marker function, with a color legend and axis labels added dynamically. The code leverages d3.selectAll and .join() to manage circle and text elements, with separate xValue and yValue accessors driving the re-rendering.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed