Fork of Simple Scatter Plot
✓ Published1🌍 Public
This example displays the relationship between bill length and flipper length in the Penguins dataset, plotting each penguin as a semi-transparent circle that reveals the overall distribution and correlation between the two measurements. The visualization uses D3.js, leveraging functions like `scaleLinear` for axis scaling, `axisLeft` for the y-axis, and the custom `viz` function to render axes, labels, and data points. The code implements a scatter plot programmatically, importing the dataset from `@curran/penguins` and styling the plot with a light gray inner rectangle and adjustable circle radius and opacity.
AI-generated descriptionA simple scatter plot with D3 showing the Penguins Dataset.
Challenge
- Fork this viz
- Modify it to show your data
MIT Licensed