Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

fork d3.js 1

Public visualization

Viewing a saved revision (read-only)

4e296209624d4965a0f518fbd508f79b

fork d3.js 1

0 stars1🌍 Public
Aadithiarikatla@gmail.com
Last edited Oct 19, 2025
Created on Oct 19, 2025

This example visualizes the Iris dataset, comparing sepal length and width across three species with colored points and an interactive legend that highlights selected species. The chart uses d3.scaleLinear for axes, d3.scaleOrdinal for color mapping, and d3.csv for data loading. It renders SVG elements with d3.selection, incorporates ResizeObserver for responsive dimensions, and applies BBC-inspired styling with custom CSS classes.

AI-generated description