Skip to main content
100%

Question 3 scatter plot

✓ Published1🌍 Public
Nneeleshalapati@gmail.com
Last edited Apr 10, 2024
Created on Apr 10, 2024

This scatter plot visualizes the relationship between bill length and flipper length for individual penguins from the Palmer Penguins dataset. The chart uses a light gray inner rectangle as the plot area, with labeled axes for both measurements. The code employs D3’s `scaleLinear` and `axisLeft` functions to map data values to pixel coordinates, while `observeResize` from `@curran/responsive-axes` ensures the visualization adapts to its container’s dimensions. Circles are rendered with a fixed radius and opacity, and the responsive axes library handles axis labels and positioning dynamically.

AI-generated description

A responsive scatter plot.

MIT Licensed

Similar vizzes