Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ice 7

Public visualization

Viewing a saved revision (read-only)

174b0a56d68d4d13bff57dc96ecfea71

ice 7

0 stars0🌍 Public
MM Hema
Last edited Mar 27, 2024
Created on Mar 27, 2024

This example visualizes the relationship between bill length and flipper length for penguin species, with each circle representing an individual penguin. The scatter plot encodes the quantitative variables on linear scales, mapping bill length to the x-axis and flipper length to the y-axis. Using D3’s `scaleLinear`, `extent`, and `axisLeft`, the visualization constructs axes and positions circles with a fixed radius and opacity. The `@curran/responsive-axes` library handles responsive axis rendering, while `@curran/penguins` provides the dataset. A light gray inner rectangle frames the plotting area, and the chart adapts to container resizing via `observeResize`.

AI-generated description

A responsive scatter plot.