Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable D3 Scatter Plot for IRIS

Public visualization

Viewing a saved revision (read-only)

ed6197ef092d41179495f3499dceae9c

Reusable D3 Scatter Plot for IRIS

0 stars0🌍 Public
DDeeraj Thakkilapati
Last edited Mar 13, 2023
Created on Mar 12, 2023

This example presents the classic Iris dataset as an interactive scatter plot, mapping petal width and sepal length to the x and y axes while encoding species with distinct symbols. Built with D3.js v6, it uses a reusable scatter plot factory function that leverages `scaleLinear`, `scaleOrdinal`, and `symbol` APIs. Data is loaded from a CSV file, rendered as SVG paths, and includes labeled axes with a custom font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.