Skip to main content
100%

Fork of Reusable scatter plot with different symbols

✓ Published0🌍 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.

MIT Licensed

Similar vizzes