Skip to main content
100%

simple scatter plot

✓ Published2🌍 Public
DDonald Bagwell
Last edited Apr 14, 2024
Created on Apr 6, 2024
Forked from Axis Labels

This scatter plot visualizes the relationship between bill length and flipper length for penguins, using the @drbagwell/penguins dataset. D3's scaleLinear and extent functions map the data to the plot area, with circles positioned via xScale and yScale calls. The visualization includes axes, labels, and an inner rectangle fill, all rendered through SVG joins. Circle radius and opacity are hardcoded values derived from the dimensions, and the plot is built with the viz module from the same author.

AI-generated description

Creating circles with D3.

Challenge

  • Fork this example
  • Modify it
  • Maybe make it Halloween themed
  • Maybe make it Christmas themed
  • Be creative
MIT Licensed

Similar vizzes