Fork of Fork of Reusable D3 Scatter Plot
✓ Published0🌍 Public
This scatter plot visualizes the Palmer Penguins dataset, mapping body mass against culmen length with an animated loop that cycles through four numerical attributes every two seconds. Built with D3 v6, it uses reusable chart patterns via a custom `scatterPlot` function, `scaleLinear` for axes, and `axisLeft`/`axisBottom` for ticks. The SVG rendering updates in place using `selectAll` and `join`, while `setInterval` triggers re-renders to switch the x-axis variable, showcasing the flexibility of modular chart components.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Penguin Dataset.
MIT Licensed