AkshithaRapala - Fork of Reusable D3 Scatter Plot
✓ Published13🌍 Public
This scatter plot visualizes the Palmer Penguins dataset, displaying body mass and culmen length measurements with animated cycling through different x-axis attributes every two seconds. It uses D3.js v6 with SVG rendering and transitions to redraw the plot dynamically. The chart encodes penguin species through distinct SVG shapes: squares for Adelie, triangles for Chinstrap, and circles for Gentoo, with axes rendered via d3.axisLeft and d3.axisBottom. The reusable chart pattern in scatterPlot.js enables smooth updates as the x-axis cycles through numerical columns. Data loads from a CSV file hosted on GitHub Gist.
AI-generated descriptionA reusable scatter plot inspired by Towards Reusable Charts.
Shows the Iris Dataset.
MIT Licensed