🌍 Public
Viewing a saved revision (read-only)
642273936b564507a3992e03d2e1a04a
Fork of Responsive Scatter Plot
This example visualizes penguin measurements from the `@curran/penguins` dataset, plotting bill length against flipper length in a scatter plot. The chart filters out rows with missing values and uses D3 v6 to render SVG circles with adjustable opacity and radius. It employs `observeResize` from `@curran/responsive-axes` to make the visualization responsive, updating the chart dimensions on container resize. The code imports `viz` from `./viz` and `select` from D3 to manage the SVG element, with axis labels and grid styling handled through the `viz` function.
AI-generated descriptionA responsive scatter plot.