HW1_Simple Scatter Plot
✓ Published0🌍 Public
This example shows the relationship between bill length and flipper length in the Penguins Dataset, with each penguin represented as a circle positioned by two linear scales. The scatter plot uses D3's `scaleLinear` and `extent` functions to map the data to screen coordinates, along with `axisLeft` for the y-axis. Axes and labels are rendered using the `@curran/axis-labels` library, which adds text for both dimensions. The visualization is built entirely with plain SVG elements (`rect` and `circle`) and reads data from the `@curran/penguins` package.
AI-generated descriptionA simple scatter plot with D3 showing the Penguins Dataset.
Challenge
- Fork this viz
- Modify it to show your data
MIT Licensed