Reusable scatter plot_Archana Goli
✓ Published0🌍 Public
Aarchanagoli@my.unt.edu
Last edited Mar 27, 2024
Created on Mar 27, 2024
This interactive scatter plot displays the Penguins dataset, with each species (Adelie, Chinstrap, Gentoo) represented by a distinct shape—square, triangle, or circle—positioned by body mass and culmen length. The visualization cycles through four numerical attributes every two seconds, updating the x-axis accessor to explore different correlations. Built with D3.js (v6.7.0), the reusable chart component uses `scaleLinear`, `extent`, `axisLeft`, and `axisBottom`, with SVG paths and a two-second `setInterval` for animation, loading data from a GitHub Gist CSV.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed