Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Krishna1

Public visualization

Viewing a saved revision (read-only)

e93a56bcdd254cfda2386fa6107e241c

Krishna1

0 stars0🌍 Public
Kkrishnareddy23
Last edited Mar 25, 2023
Created on Mar 25, 2023

This visualization displays the Iris dataset as an interactive scatter plot, mapping petal width on the x-axis against sepal length on the y-axis. Each data point is color-coded and shaped according to its species: green triangles for setosa, blue diamonds for versicolor, and gray circles for virginica. The plot is built using a reusable `scatterPlot` function that leverages D3's `scaleLinear`, `axisLeft`, `axisBottom`, and `symbol` APIs to handle scaling, axes, and point rendering. The SVG output fills the entire browser window, with styling applied via the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.