Skip to main content
100%

Fork of Responsive Scatter Plot

✓ Published0🌍 Public
AAamir Hameed mir
Last edited Jun 6, 2024
Created on Jun 6, 2024

This responsive scatter plot displays the relationship between bill length and flipper length for penguins, with a gray background aiding point visibility. The visualization uses D3.js to filter invalid data points and render circles with adjustable radius and opacity. It employs the `observeResize` API to track container dimensions, rebuilding the SVG and scales on size changes through `scaleLinear` and d3 axes. The code leverages `d3.select`, `data.join`, and `@curran/responsive-axes` for adaptive rendering, with data sourced from the curated penguins dataset.

AI-generated description

A responsive scatter plot.

MIT Licensed

Similar vizzes