Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of ICE 7 Reusable D3 Scatter Plot

Public visualization

Fork of ICE 7 Reusable D3 Scatter Plot

0 stars1🌍 Public
Mmanvithareddykarra
Last edited Mar 27, 2022
Created on Mar 27, 2022

This example presents an interactive scatter plot of the Iris dataset, where each flower species is represented by a distinct symbol from d3.symbol. The plot visualizes sepal length against petal width, with axes generated using d3.axisLeft and d3.axisBottom. A d3.scaleOrdinal maps species to symbol types, while d3.scaleLinear handles the x and y scales. Every 15 seconds, the x-axis dynamically switches between four numeric attributes—petal width, sepal width, petal length, and sepal length—using setInterval to re-render the chart with updated scales and positions.

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