Skip to main content
100%

Fork of Simple Scatter Plot

✓ Published0🌍 Public
Xx900.cs11@nycu.edu.tw
Last edited Sep 7, 2024
Created on Sep 7, 2024

This example demonstrates a scatter plot of the Penguins dataset, displaying bill length against flipper length for individual penguins. The visualization is rendered using D3.js primitives like `select` and `join` to create SVG elements, with scales and axes computed via `scaleLinear` and `axisLeft`. The plot includes labeled axes and a gray inner rectangle to frame the data points, which are drawn as semi-transparent circles. The code structure separates the rendering logic into a customizable `viz` function, making it easy to adapt the chart for other datasets.

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