Skip to main content
100%

Fork of Reusable D3 Scatter Plot

✓ Published0🌍 Public
AABCDB15
Last edited Mar 28, 2022
Created on Mar 28, 2022

This scatter plot visualizes the Iris dataset, with each point representing a flower specimen. The visualization cycles through four different attribute combinations (petal width, sepal width, petal length, and sepal length) as x-axis values every two seconds, while the y-axis remains fixed to sepal length. Built with D3 v6, the example uses the `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs to construct the plot and axes, and employs D3's `join` feature for efficient SVG element updates. Data is loaded from a remote CSV file and parsed into numerical values, rendered as SVG circles with the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes