🌍 Public
Fork of Vanilla D3 Vibecoding Template
This interactive scatter plot visualizes Fisher's Iris dataset, comparing sepal length and width across three iris species, with data points colored by species. The visualization includes a legend that filters and highlights points on hover, dimming non-selected species through opacity changes. Built with vanilla D3.js (v7), the code uses `scaleLinear`, `scaleOrdinal`, `axisBottom`, and `axisLeft` for scales and axes, while leveraging a ResizeObserver for responsive layout. The BBC-style color scheme and typography are applied via CSS classes, with data loaded from a remote CSV file.
AI-generated descriptionMIT Licensed
Comments
Sign in to join the discussion.