Skip to main content
100%

Fork of Simple Scatter Plot

✓ Published0🌍 Public
LLê Minh Bằng
Last edited Sep 8, 2024
Created on Sep 8, 2024

This scatter plot visualizes the Penguins Dataset, mapping bill length to the x-axis and flipper length to the y-axis for each penguin observation. The code uses D3’s `scaleLinear` to create scales from the data extents, then renders axes via the `axisLeft` function and custom `xAxis` and `yAxis` helpers from `@curran/axis-labels`. Circles are drawn with D3’s `selectAll` and `join` pattern, with configurable radius and opacity. The visualization is built using data imported from `@curran/penguins`.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes