Skip to main content
100%

Reusable D3 Scatter Plot- ICE7

✓ Published0🌍 Public
Bbrindapotluri
Last edited Mar 28, 2022
Created on Mar 28, 2022
Forked from HTML Starter

This example presents a scatter plot of the Iris dataset, cycling through different floral measurements on the x-axis while coloring points by species. It renders as an animated SVG, updating the axis and labels every few seconds. The visualization uses D3 v6 with a custom reusable `scatterPlot` function that leverages `scaleLinear`, `extent`, `axisLeft`, and `axisBottom` to create axes. Data is loaded via D3’s `csv` parser, and points are drawn with circle elements, with colors and axis titles updated dynamically through a `setInterval` loop.

AI-generated description
MIT Licensed

Similar vizzes