Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

b183ce4182c6434aa715dedbadbde12b

Fork of Fork of Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
Pprince.sahith100@gmail.com
Last edited Mar 26, 2025
Created on Mar 26, 2025

This example shows an interactive-free scatter plot of the Iris dataset, mapping petal length on the x-axis and sepal length on the y-axis, with points colored by species using a d3.scaleOrdinal. It loads CSV data via d3.csv, then builds a reusable visualization through a custom scatterPlot function that appends an SVG, applies linear scales (d3.scaleLinear), and draws axes with d3.axisBottom and d3.axisLeft. The plot includes labeled axes and three color categories for the flower species.

AI-generated description