Skip to main content
Public

Share visualization

Loading preview…

Fork of Simple Scatter Plot

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Simple Scatter Plot

0
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

Comments

Sign in to join the discussion.

MIT Licensed