Skip to main content
100%

Task8_Tutorialo3

✓ Published0🌍 Public
Ppogirimayoor@gmail.com
Last edited Apr 11, 2024
Created on Apr 11, 2024

This scatter plot visualizes the Iris dataset, displaying petal length on the x-axis and petal width on the y-axis, with each point colored by species (setosa, versicolor, or virginica). Using D3 v6, it loads CSV data via `d3.csv`, applies linear scales with `scaleLinear` and `extent`, and renders circles as SVG markers with attributes for radius and fill. The axes are generated with `axisLeft` and `axisBottom`, and custom text labels annotate both dimensions. The code also parses numeric fields and computes additional sepal-related variables, though these are not directly plotted.

AI-generated description

We are Displaying the IRIS dataset using Scatter plot.

MIT Licensed

Similar vizzes