Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

5afe2cd3ad164fddaf5892457028dcc6

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Eeravellisaimeghana
Last edited Mar 29, 2022
Created on Mar 29, 2022

This example visualizes the Iris Dataset as a scatter plot, cycling through different pairings of sepal and petal measurements every two seconds to reveal correlations. Built with D3 v6, it uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to map the data to SVG circles, while a reusable chart function encapsulates the rendering logic. The plot animates by updating the x-axis value and re-invoking the chart, with axes and points redrawn dynamically.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.