Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

colored Scatter Reusable Symbols

Public visualization

Viewing a saved revision (read-only)

c9c4bc65788145e6877e8af5feff1d8b

colored Scatter Reusable Symbols

0 stars0🌍 Public
Aadventuresenglish.info@gmail.com
Last edited Dec 6, 2023
Created on Dec 6, 2023

This example visualizes the Iris Dataset, plotting petal width against sepal length for three species of iris flowers. The scatter plot uses reusable symbols, with each species (setosa, versicolor, virginica) rendered as a distinct geometric shape and colored blue, green, or red. Tooltips reveal the exact x and y coordinates. Built with D3 v6, it leverages `scaleLinear` for axes, `scaleOrdinal` to map species to `symbols`, and `symbol()` to generate reusable paths, all rendered as SVG with custom axis styling.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.