Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Scatter Plot with Color

Public visualization

Viewing a saved revision (read-only)

79fb73251a5a4b1ba6c7747c4e057ad4

Fork of Scatter Plot with Color

0 stars4🌍 Public
Rradhadevarapu
Last edited Mar 10, 2023
Created on Mar 10, 2023

This interactive scatter plot visualizes the Iris Dataset, illustrating the relationship between sepal length and petal length, with each of the three flower species distinguished by color. The visualization includes labeled axes for the measurements and a color legend identifying the species. Built with D3.js version 7, the example uses `scaleLinear`, `scaleOrdinal`, and `schemeCategory10` from the `d3-scale-chromatic` library to map data to positions and colors. The axes and legend are constructed programmatically using the `axisLeft` and `axisBottom` functions, while data is loaded asynchronously from a CSV file.

AI-generated description

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

See also: