Skip to main content
100%

Activity 6_Task 3.2

✓ Published0🌍 Public
Aakankshareddygorla@my.unt.edu
Last edited Oct 21, 2024
Created on Oct 21, 2024

This example visualizes the classic Iris dataset, displaying sepal length on the x-axis and petal length on the y-axis as colored circles. The scatter plot uses `d3.scaleLinear` for axes and `d3.scaleOrdinal` with `schemeCategory10` to color-code the three species, with a custom color legend. It relies on `d3.csvParse` to load data from a CSV file, `d3-selection` and `selection.join` for DOM updates, and `axisLeft`/`axisBottom` for the axes, which are rendered with `d3.scaleLinear` domains computed via `extent`.

AI-generated description

A scatter plot of the Iris Dataset with a color legend.

See also:

MIT Licensed

Similar vizzes