Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Stylized Scatter Plot with Color Legend

Public visualization

Viewing a saved revision (read-only)

014c077e361446ce900f759d01e8826a

Fork of Stylized Scatter Plot with Color Legend

0 stars1🌍 Public
DDivyaVellanki
Last edited Mar 7, 2022
Created on Mar 7, 2022

This D3 v5 visualization displays the Iris dataset, mapping sepal length and petal length along the x and y axes, with species encoded as color. The scatter plot uses circles to represent individual samples. The code loads data from a CSV file, employs `d3.scaleLinear` and `d3.scaleOrdinal` with `d3.schemeCategory10`, and renders axes via `d3.axisBottom` and `d3.axisLeft`. A color legend is added using the `d3.legendColor` API from the d3-legend library.

AI-generated description

A vanilla HTML implementation of a D3 scatter plot. Shows the Iris Dataset.