Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This example demonstrates the classic Iris Dataset through an animated scatter plot that cycles through different feature combinations every two seconds. The visualization uses D3.js v6 with a reusable chart pattern, leveraging `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to render axes and circles in SVG. The code fetches CSV data from a GitHub gist, parses numeric columns, and employs `setInterval` to dynamically update the x-axis mapping between petal width, sepal width, petal length, and sepal length. The scatter plot fills the browser window and uses a custom font from Google Fonts.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed