Skip to main content
100%

Activity6_T3

✓ Published2🌍 Public
Tthakurnikhitha4@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This example shows the classic Iris dataset as a scatter plot, mapping petal length and width to the x- and y-axes while coloring each flower species (setosa, versicolor, virginica) with distinct fill colors. Using D3 v6, it loads CSV data from a GitHub URL, parses numeric fields, and renders SVG circles with a fixed radius. Axes are generated with `axisLeft` and `axisBottom`, while `scaleLinear` and `extent` handle the scaling domains. The code also reads sepal dimensions and applies them as attributes, though the visual encoding focuses primarily on the petal measurements.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes