Skip to main content
100%

Reusable D3 Scatter Plot for IRIS

✓ Published0🌍 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.

MIT Licensed

Similar vizzes