🌍 Public
Reusable 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 descriptionMIT Licensed
Comments
Sign in to join the discussion.