Skip to main content
100%

ACTIVITY 7 TASK 4

✓ Published0🌍 Public
Ssuryavamsi00024
Last edited Jul 3, 2023
Created on Jul 3, 2023

This example visualizes the iris dataset as a scatter plot, mapping sepal length to the x-axis and petal length to the y-axis. Different species are distinguished through distinct symbol shapes, with a legend identifying each category. The visualization uses d3.csvParse to load and parse the data, then applies d3.scaleLinear for positioning, d3.scaleOrdinal with symbolsFill for shape encoding, and d3.axisLeft and d3.axisBottom for axes. A custom shape legend renders the categorical mapping for species.

AI-generated description
MIT Licensed

Similar vizzes