Skip to main content
100%

AVN - Penguins Scatter Plot

✓ Published0🌍 Public
Aavnreddy95
Last edited Jun 26, 2022
Created on Jun 25, 2022

This interactive visualization displays the classic Iris dataset as a scatter plot, mapping petal length on the x-axis and petal width on the y-axis. Each circle is colored by species—green for setosa, orange for virginica, and blue for versicolor—and its horizontal and vertical radii encode sepal length and width, creating an abstract bubble-like representation. Built with D3 v6, the code loads the CSV data via `d3.csv`, uses `scaleLinear` and `extent` for scaling, and renders circles as SVG elements. Axes are drawn with `axisLeft` and `axisBottom`, with custom text labels styled using inline attributes.

AI-generated description

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

MIT Licensed

Similar vizzes