fork d3.js 1
✓ Published1🌍 Public
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 descriptionMIT Licensed