Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Reusable scatter plot with different symbols

Public visualization

Viewing a saved revision (read-only)

4eae80cb55f54979bd3a0a868ab46f0c

Fork of Reusable scatter plot with different symbols

0 stars0🌍 Public
TTejucmandava
Last edited Mar 26, 2023
Created on Mar 26, 2023

This scatter plot visualizes the Iris Dataset, encoding petal width on the x-axis, sepal length on the y-axis, and using distinct SVG symbols for each iris species via `d3.symbol` and `scaleOrdinal`. It is built with a reusable `scatterPlot` function that configures linear scales, axes, and margins, rendering in a full-window SVG. The data is loaded from a remote CSV using `d3.csv`, and marks are drawn as `<path>` elements with `d3.symbol` generators.

AI-generated description

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