Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE - 7 Resuable Scatter Plot Ganesh

Public visualization

Viewing a saved revision (read-only)

00a1a07b39174d8a9b4e05680a87dbf3

ICE - 7 Resuable Scatter Plot Ganesh

0 stars0🌍 Public
GGaneshPenumarthi
Last edited Mar 27, 2022
Created on Mar 27, 2022

This interactive scatter plot displays the Iris dataset, mapping petal width against sepal length and coloring each point by species. The visualization is built using D3.js v6, with `scaleLinear` for axes, `axisLeft`/`axisBottom` for ticks, and a reusable `scatterPlot` function that accepts configurable width, height, margins, and data accessors. Circles are joined via `selection.join`, with species-based color coding (red, green, blue). The plot renders in SVG, initially showing petal width on the x-axis, which then switches to sepal width for the final view.

AI-generated description