Skip to main content
100%

Reusable Scatter plot Assigment 2 Q5

✓ Published0🌍 Public
VVishnu Sudireddy
Last edited Jul 21, 2023
Created on Jul 10, 2023
Forked from D3 Starter

This example presents an interactive scatter plot of the Iris dataset, visualizing relationships between sepal and petal measurements for three flower species. The plot cycles through different variable pairings on the x-axis every few seconds, with points colored by species using a legend. Built with D3 version 6, the visualization uses reusable scales and axes defined in a custom scatterPlot module, employing D3’s scaleLinear, extent, axisLeft, and axisBottom APIs. Data is fetched as CSV from a GitHub gist, and the rendering relies on SVG circles with animation driven by setInterval.

AI-generated description

A demonstration of how to start using D3 version 6.

MIT Licensed

Similar vizzes