simple scatter plot
✓ Published2🌍 Public
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 descriptionCreating circles with D3.
Challenge
- Fork this example
- Modify it
- Maybe make it Halloween themed
- Maybe make it Christmas themed
- Be creative
MIT Licensed