Skip to main content
100%

Dynamic sPlot with symbols

✓ Published0🌍 Public
DDonald Bagwell
Last edited Nov 28, 2023
Created on Nov 28, 2023

This dynamic scatter plot visualizes the Iris Dataset, mapping petal width against sepal length while encoding the three iris species with distinct D3 symbol shapes. The visualization uses `d3.scaleLinear` and `d3.scaleOrdinal` to position points and assign symbols, with `d3.axisLeft` and `d3.axisBottom` providing labeled axes. Each data point renders as an SVG path generated by the `d3.symbol` generator, sized at 100 pixels squared, and the chart updates transparently when the dataset or encoding functions change through its reusable `scatterPlot` module.

AI-generated description

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

MIT Licensed

Similar vizzes