Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of DV ICE7-Reusable Scatter Plot for Iris Data

Public visualization

Viewing a saved revision (read-only)

63ae6be1b1114b62866316bc5ac76da8

Fork of DV ICE7-Reusable Scatter Plot for Iris Data

0 stars0🌍 Public
NNeeharikaGali
Last edited Mar 25, 2023
Created on Mar 25, 2023

This scatter plot visualizes the Iris dataset, mapping petal width against sepal length and distinguishing species by symbol type. Built as a reusable chart module, it uses d3.scaleLinear for axes, d3.scaleOrdinal with d3.symbols for categorical markers, and d3.axisLeft/axisBottom for ticks. The SVG rendering fills the viewport, with data loaded via d3.csv from a GitHub Gist and parsed into numeric fields. The chart’s dimensions, margins, and accessor functions are configurable through a fluent API, demonstrating a modular approach to D3 visualization.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.