Skip to main content
100%

ICE - 6 Scatter Plot

✓ Published6🌍 Public
MManasaPatange
Last edited Mar 6, 2022
Created on Mar 6, 2022

This example visualizes the Iris Dataset, plotting petal length and width for each flower. Three species—setosa, virginica, and versicolor—are differentiated by green, orange, and blue fill colors. The code uses `d3.csv` to load data, `scaleLinear` for x and y axes, and SVG circles for rendering. Data parsing converts string measurements to numbers, while `axisLeft` and `axisBottom` append labeled axes. Despite assigning `rx` and `ry` attributes, the circles use a fixed `r` of 6.5 pixels.

AI-generated description

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

MIT Licensed

Similar vizzes