Skip to main content
100%

Fork of ICE - 7 Reusable Scatter Plot Maanas Katta

✓ Published0🌍 Public
Ddheeraj1509
Last edited Mar 7, 2023
Created on Mar 7, 2023

This example displays a scatter plot of penguin data that cycles through different x-axis attributes every two seconds, showing how the distribution shifts when petal width, sepal width, petal length, or sepal length is plotted against sepal length. Data points are colored by species (setosa, versicolor, virginica) using blue, red, and yellow fills, with white axis labels and strokes. The visualization builds a reusable chart using D3 v6 APIs including `scaleLinear`, `extent`, `axisLeft`, `axisBottom`, and `setInterval` for animation. It loads CSV data from a GitHub gist and renders SVG circles on a black background.

AI-generated description
MIT Licensed

Similar vizzes