Skip to main content
100%

Reusable D3 Scatter Plot

✓ Published3🌍 Public
Lliu yang
Last edited Nov 25, 2023
Created on Nov 23, 2023
Forked from D3 Scatter Plot

This interactive scatter plot visualizes the Iris dataset, cycling through different combinations of petal width and sepal length every three seconds. Using the D3.js library, it employs a declarative, reusable `scatterPlot` component that leverages `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs. The SVG visualization dynamically updates its x-value mapping, animating through the dataset columns while rendering circles and labeled axes with a fixed margin and radius. Data is loaded asynchronously from a remote CSV via `d3.csv`.

AI-generated description
MIT Licensed

Similar vizzes