Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Scatterplot_ICE7

Public visualization

Scatterplot_ICE7

0 stars0🌍 Public
NNiharika-Guthikonda
Last edited Mar 25, 2023
Created on Mar 25, 2023

This interactive scatter plot displays the Iris dataset, mapping petal width against sepal length. It uses D3 v6 APIs including `scaleLinear`, `scaleOrdinal`, `extent`, and `symbol` to render SVG marks, with colors assigned by species. The visualization cycles through all four numeric data columns every two seconds using `setInterval`, updating the x-axis to show different variable pairs. The reusable chart component, built with a `scatterPlot` factory function, adjusts its axes and marks dynamically via methods like `.xValue()` and `.yValue()`, while axis labels and a title are appended directly to the SVG.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

Comments

Sign in to join the discussion.

MIT Licensed