Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot- ICE7

Public visualization

Fork of Reusable D3 Scatter Plot- ICE7

0 stars0🌍 Public
SSampras Dsouza
Last edited Jun 16, 2022
Created on Jun 16, 2022

This animated scatter plot displays the Iris flower dataset, cycling through four different feature combinations on the x-axis while keeping sepal length on the y-axis to reveal relationships between measurements. The visualization uses D3 v6 with SVG rendering, employing `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` from the scatterPlot module. Data points are colored by species (setosa, versicolor, virginica) via a marker function, while a `setInterval` updates the x-value selection every few seconds. The code reads the dataset from a remote CSV using d3.csv and includes a legend with custom axis labels.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed