🌍 Public
Viewing a saved revision (read-only)
cd831449d319477c91b861185ea1cb7b
Fork of Reusable scatter plot with different symbols
SSharanyaSriram
Last edited Mar 26, 2023
Created on Mar 26, 2023
Forked from Reusable scatter plot with different symbols
This scatter plot visualizes the Iris Dataset, mapping petal width against sepal length and encoding species with distinct D3 symbols. The visualization uses a reusable `scatterPlot` function that leverages `d3.scaleLinear`, `d3.scaleOrdinal`, `d3.axisLeft`, `d3.axisBottom`, and `d3.symbol` to render SVG paths. The dataset is loaded as CSV via `d3.csv` and parsed into numeric values. Axis tick labels are styled at 24px, with the plot filling the entire browser window.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.