Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Responsive Scatter Plot

Public visualization

Viewing a saved revision (read-only)

c98781ccaef64c5db542120d0a429f3b

Fork of Responsive Scatter Plot

0 stars0🌍 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.