Skip to main content
100%

Reusable scatter plot

✓ Published0🌍 Public
SSRI RAM REDDY KOTERU
Last edited Mar 28, 2022
Created on Mar 28, 2022

This example presents a reusable scatter plot that visualizes the Iris dataset, with each circle colored by species. It uses D3.js scaleLinear, axisLeft, and axisBottom to map petal width and sepal length. The plot cycles through different data columns every two seconds, animating the x-axis and circle positions. The scatterPlot function encapsulates the chart logic, allowing dynamic updates via setInterval.

AI-generated description
MIT Licensed

Similar vizzes