Skip to main content
100%

Fork of Scatter Plot with Shape

✓ Published0🌍 Public
NNukaShravanKumar
Last edited Jul 19, 2023
Created on Jul 19, 2023
Forked from Hello VizHub

This example visualizes the iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis, with species differentiated by symbol shapes from d3.symbol and d3.scaleOrdinal. A custom shape legend displays each species’ symbol, while d3.axisBottom and d3.axisLeft render labeled axes. The code loads data via d3.csvParse from a GitHub-hosted CSV and uses d3’s join pattern to update SVG elements.

AI-generated description
MIT Licensed

Similar vizzes