ICE - VII Reusable Scatter Plot
✓ Published0🌍 Public
This interactive scatter plot animates a dolphin dataset, cycling through four physical attributes on the x-axis while keeping body length on the y-axis. The visualization uses a reusable `scatterPlot` component built with D3 v6, employing `scaleLinear`, `axisLeft`, and `axisBottom` to render axes. The code applies a color legend based on dolphin species, with a `setInterval` function triggering transitions between the x-axis attributes. The visualization also includes CSS-styled text and SVG circle elements with variable radii, showcasing a clean example of animated data exploration.
AI-generated descriptionA demonstration of how to start using D3 version 6.
MIT Licensed