Skip to main content
100%

Fork of Reusable D3 Scatter Plot- ICE7

✓ Published0🌍 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
MIT Licensed

Similar vizzes