Skip to main content
100%

Fork of ICE - 6 Scatter Plot

✓ Published0🌍 Public
SSweetierams
Last edited Jun 29, 2022
Created on Jun 29, 2022

This example visualizes the Iris dataset as a scatter plot, mapping petal length and width to the x- and y-axes while coloring points by species (setosa, virginica, and versicolor). Each circle’s `rx` and `ry` attributes are set to the sepal measurements, though the rendering remains circular. The code uses D3 v6 to load CSV data, apply linear scales via `d3.scaleLinear`, and render axes with `d3.axisLeft` and `d3.axisBottom`. The visualization fills the browser window with an SVG, and axis labels highlight petal length and sepal length.

AI-generated description

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

MIT Licensed

Similar vizzes