Skip to main content
100%

ICE-7-Reusable D3 Scatter Plot

✓ Published0🌍 Public
AAli Shah Solanki
Last edited Mar 26, 2023
Created on Mar 26, 2023

This reusable D3 scatter plot displays the Iris Dataset, plotting sepal length against petal width. It cycles through different data columns every two seconds, animating the points and axes to explore relationships between all four measurements. The implementation showcases D3's `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs within a custom `scatterPlot` function, following the “Towards Reusable Charts” pattern. The visualization is rendered as SVG with an animated transition, using a palette of colored circles.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes