Skip to main content
100%

Fork of Reusable scatter plot with different symbols

✓ Published0🌍 Public
SSravaniPosina
Last edited Mar 10, 2023
Created on Mar 10, 2023
Forked from D3 Starter

This scatter plot visualizes the Iris dataset, mapping petal width and sepal length on the x and y axes. D3’s `scaleLinear` and `scaleOrdinal` functions position the points and assign distinct symbol shapes to each iris species. Using `d3.symbol` with a `symbolGenerator`, the chart renders three different marker types, while `axisLeft` and `axisBottom` add labeled scales. The code imports from the D3 v6 library and loads data from a remote CSV URL.

AI-generated description

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

MIT Licensed

Similar vizzes