Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

55251c85ed9449eb9aba5b54767f07f7

Reusable D3 Scatter Plot

0 stars0🌍 Public
Ss-pranathi
Last edited Mar 28, 2022
Created on Mar 24, 2022

This reusable D3 scatter plot visualizes the Iris dataset, animating through different variable pairings on the x-axis every seven seconds. Using the `csv` loader with inline row parsing, it maps petal width, sepal width, petal length, and sepal length against sepal length, with circles colored by species via a custom switch. The chart is built with a configurable `scatterPlot` function leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` APIs, rendering SVG and updating through `setInterval`.

AI-generated description

Reusable Scater Plot