Skip to main content
100%

hw10 - add axis labels to Animated Reusable D3 Scatter Plot

✓ Published0🌍 Public
Ccrees00
Last edited Aug 31, 2022
Created on Aug 31, 2022

This animated scatter plot visualizes the Iris dataset with petal width mapped to the x-axis and sepal length on the y-axis, using D3 v6’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes. Circles representing data points transition smoothly via `selection.join` and `transition` as the x-axis variable cycles through the dataset’s numeric columns every 30 seconds. SVG labels for each axis are configured through custom `xLabel` and `yLabel` accessor functions, demonstrating a reusable chart pattern inspired by Bostock’s “Towards Reusable Charts.”

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes