Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatter plot Activity 8

Public visualization

Viewing a saved revision (read-only)

fe948aa893bb4c0fac304a78a5d10f5c

Reusable Scatter plot Activity 8

0 stars0🌍 Public
Vvineelaramulapalli32
Last edited Jul 17, 2023
Created on Jul 17, 2023
Forked from Hello VizHub

This interactive scatter plot visualizes the Iris dataset, showing sepal and petal measurements as colored circles representing three flower species. The visualization cycles through different variable pairings on the axes using a timer, updating the chart every few seconds. Built with D3.js version 6, the code uses `csv()` to load data, `select()` and `join()` for SVG rendering, and `setInterval()` to trigger axis transitions. The reusable `scatterPlot()` function manages the chart layout, while custom legend markers and axis labels are appended dynamically.

AI-generated description

A demonstration of reusable scatter plot.