🌍 Public
Viewing a saved revision (read-only)
33ec6d870cbe4c1aa0bcd7cc115fd2c5
task3
This scatter plot visualizes the Iris dataset, mapping petal length and width on the x- and y-axes, with points colored by species (setosa, versicolor, and virginica). The code draws circles using SVG, applying a custom `marker` function to assign colors based on the species field. It uses D3 v6 APIs including `csv`, `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and chainable selections with `.join()`. Data is loaded from a remote CSV file, and the plot includes labeled axes with custom text styling.
AI-generated descriptionWe are Displaying the IRIS dataset using Scatter plot.