Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

7257a63b3e994b80be9a2de68bdb7d6e

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
KKeerthipriyaBankuru
Last edited Jul 2, 2022
Created on Jul 2, 2022

This animated scatter plot visualizes the Iris dataset, showing the relationship between petal width and sepal length for three flower species. The visualization cycles through different variable pairings every two seconds, rotating among petal_width, sepal_width, petal_length, and sepal_length on the x-axis. Built with D3 v6, the example uses `scaleLinear` and `scaleOrdinal` for axes and color encoding, with circles rendered as SVG elements. Data loads from a GitHub Gist CSV, and the reusable `scatterPlot` function updates axes and marks dynamically through a `setInterval` loop.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.