🌍 Public
ICE - 7 - Reusable Scatter Plot
This reusable scatter plot visualizes the Iris dataset, encoding petal and sepal measurements as x and y positions, with species shown through distinct colors and symbol shapes. It demonstrates a modular D3 chart function that updates every five seconds, cycling the x-axis through different measurement columns using `setInterval`. The chart leverages D3 v6 APIs including `scaleLinear`, `scaleOrdinal`, `axisBottom`, `axisLeft`, `symbol`, and `symbols`, rendered as SVG paths with animated transitions between views.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed
Comments
Sign in to join the discussion.