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)

ce7dbd11221f44b58e5d231b8b684094

Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Ppavan vasamsetti
Last edited Mar 27, 2024
Created on Mar 26, 2024

This is an animated scatter plot that visualizes the Iris Dataset, cycling through different pairs of measurements (petal width, sepal width, petal length, sepal length) every two seconds. It uses D3 v6 for rendering SVG circles and axes, with the `scatterPlot` function as a reusable chart component. The plot updates its x-axis encoding based on a rotating column list, leveraging D3's `scaleLinear`, `axisLeft`, and `axisBottom` APIs. Data is loaded from a CSV file, and the visualization fills the entire browser window.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.