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)

9f80a65102bc4652aa0404df291bb19f

Fork of Reusable scatter plot with different symbols

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

This fork of a reusable D3 scatter plot visualizes the Iris dataset, mapping petal width and sepal length along the x- and y-axes. It uses `d3.scaleOrdinal` and `d3.symbol` to assign distinct geometric symbols to each iris species, rendering them as SVG paths. The plot also includes `d3.axisLeft` and `d3.axisBottom` for labeled axes. The code is built as a modular `scatterPlot()` function with configurable accessors, demonstrating a reusable chart pattern in D3 v6.

AI-generated description

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