Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Fork of Reusable D3 Scatter Plot

Public visualization

Fork of Fork of Reusable D3 Scatter Plot

0 stars0🌍 Public
RRahulChaitu999
Last edited Jul 1, 2022
Created on Jul 1, 2022

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 description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Penguin Dataset.

Comments

Sign in to join the discussion.

MIT Licensed