Skip to main content
100%

Activity-7 tutorial

✓ Published0🌍 Public
Ccharanshiva769@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024

This example demonstrates a reusable scatter plot of the Iris dataset, cycling through four different feature pairs on the axes. The plot uses D3’s `scaleLinear`, `axisLeft`, and `axisBottom` to render axes, while colored circles distinguish species. An animation via `setInterval` updates the x-axis variable every few seconds, and the visualization includes a title, axis labels, and a legend. The code employs D3’s `csv` loader, `select`, and data joins, with SVG rendering for the chart and animation.

AI-generated description

A demonstration of reusable scatter plot.

MIT Licensed

Similar vizzes