🌍 Public
Viewing a saved revision (read-only)
73779f4e8bf545f0b6b68b2ee824fa68
Fork of Reusable scatter plot with different symbols
NNeeharikaGali
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Reusable scatter plot with different symbols
This scatter plot visualizes the Iris dataset, mapping petal width to sepal length for individual flower samples. Different species are distinguished using distinct symbols applied via a d3.scaleOrdinal with an array of d3 symbols. The visualization uses D3 v6 APIs including d3.scaleLinear, d3.axisLeft, d3.axisBottom, and d3.symbol. A reusable scatterPlot function configures margins, size, and accessor functions. Data is loaded as CSV and parsed before rendering as SVG paths within a full-window viewport.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.