Skip to main content
100%

Fork of Ic7 scattered plot

✓ Published0🌍 Public
KKarnisrikanth
Last edited Mar 25, 2023
Created on Mar 25, 2023
Forked from Ic7 scattered plot

This scatter plot visualizes the Iris dataset, encoding sepal length on the y-axis and petal width on the x-axis, with species represented by distinct D3 symbol shapes. The chart animates every 15 seconds, cycling through petal_width, sepal_width, petal_length, and sepal_length as the x-axis variable via a `setInterval` callback that updates the chart’s accessor function. Built with reusable chart patterns from `d3.scaleLinear`, `d3.axisBottom`, `d3.axisLeft`, and `d3.symbol`, the SVG rendering animates smoothly. The code imports from D3 v6 and uses a CSV fetched from a GitHub Gist.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes