Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of ICE 7 Reusable D3 Scatter Plot

Public visualization

Fork of Fork of Fork of ICE 7 Reusable D3 Scatter Plot

0 stars2🌍 Public
PPujitha14challagulla
Last edited Jul 1, 2022
Created on Jun 30, 2022

This visualization presents the classic Iris dataset as an animated scatter plot, mapping flower measurements (petal width, sepal length, etc.) to Cartesian coordinates. The SVG rendering is built with the d3 library, using a custom `scatterPlot()` function that leverages `scaleLinear`, `scaleOrdinal`, and `symbol()` to draw distinct species markers. Every 15 seconds, the plot cycles its x-axis through the dataset’s numeric columns, dynamically re-scaling the axes. This reusable chart demonstrates how to create a flexible D3 module with setters and getters, allowing for interactive data exploration.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed