ICE-7 Reusable scatter plot with different symbol
✓ Published0🌍 Public
Mmanishcheruku
Last edited Mar 25, 2023
Created on Mar 25, 2023
This example visualizes the Iris dataset as a scatter plot, mapping petal width to the x-axis and sepal length to the y-axis. Each species is represented by a distinct symbol (circle, cross, diamond) and color, determined by an ordinal scale. The chart is implemented as a reusable D3 component using `d3.scaleLinear`, `d3.scaleOrdinal`, and `d3.symbol`, with axes created via `d3.axisLeft` and `d3.axisBottom`. Data is loaded asynchronously with `d3.csv`, and the visualization renders as an SVG that fills the browser window.
AI-generated descriptionA vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.
MIT Licensed