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
Rrushithareddyy
Last edited Jul 14, 2023
Created on Jul 14, 2023

This example demonstrates a dynamic, animated scatterplot of the Iris flower dataset, showcasing how different species cluster across various measurement combinations. Through a cycling interval, the plot iterates through different x-axis variables (petal width, sepal width, petal length, and sepal length) while keeping sepal length on the y-axis, with species color-coded as skyblue, lightgreen, and orange. Built with D3.js version 6.7, the visualization uses a custom reusable `scatterPlot` function leveraging `scaleLinear`, `axisLeft`, `axisBottom`, and `csv` for data loading, rendering circles in SVG with animated transitions and a static legend.

AI-generated description

A demonstration of reusable scatter plot.

Comments

Sign in to join the discussion.

MIT Licensed