Skip to main content
100%

Fork of Reusable scatter plot with different symbols

✓ Published0🌍 Public
Mmboinapally17
Last edited Mar 22, 2023
Created on Mar 22, 2023

This visualization displays the classic Iris dataset, mapping petal width against sepal length across three flower species. Built with D3 v6, it renders as an SVG scatter plot using distinct geometric symbols from `d3.symbol` and `d3.symbols` to differentiate species. The code employs `d3.scaleLinear` for axes, `d3.scaleOrdinal` for symbol mapping, and D3 selections with the `.join()` pattern to bind data to paths. Data is loaded asynchronously via `d3.csv` from a GitHub Gist, with axes generated through `d3.axisLeft` and `d3.axisBottom`.

AI-generated description

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

MIT Licensed

Similar vizzes