Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 7 Reusable scatter plot

Public visualization

Viewing a saved revision (read-only)

cffc4175f18e41f9992bd6a0ae06bda8

ICE 7 Reusable scatter plot

0 stars0🌍 Public
SSai Kaushik
Last edited Mar 13, 2023
Created on Mar 13, 2023

This reusable scatter plot visualizes the Iris Dataset, mapping petal width, sepal width, petal length, and sepal length onto the x-axis while keeping sepal length on the y-axis. It uses D3’s `scaleLinear`, `scaleOrdinal`, and `symbol` to encode species with distinct SVG path shapes. The plot cycles through the four x-axis variables every two seconds via `setInterval`, re-calling the chart with updated accessors. Rendering is fully SVG-based, with axes generated by `axisLeft` and `axisBottom`, and the viewport resizes to the full window dimensions.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.