Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

DV ICE7-Reusable Scatter Plot for Iris Data

Public visualization

Viewing a saved revision (read-only)

bcbba815b085494dbeeb5dfa11291bad

DV ICE7-Reusable Scatter Plot for Iris Data

0 stars2🌍 Public
Ppravalika.thogaru10@gmail.com
Last edited Mar 12, 2023
Created on Mar 10, 2023

This interactive scatter plot visualizes the Iris dataset, mapping petal width against sepal length across three flower species. The code uses D3 v6 APIs including `scaleLinear`, `scaleOrdinal`, `axisLeft`, `axisBottom`, and `symbol` to render distinct shapes for each species. A reusable `scatterPlot` function configures margins, data accessors, and symbol size before rendering SVG marks. The chart displays all 150 records from the imported CSV file, with axes labeled and styled using the Share Tech font.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.