Skip to main content
100%

scatter plot missing data_drb

✓ Published3🌍 Public
DDonald Bagwell
Last edited Apr 14, 2024
Created on Apr 13, 2024

This scatter plot visualizes the relationship between bill length and flipper length for a dataset of penguins. It filters out data points with missing values before rendering. The example uses D3.js to create the SVG visualization, with `scaleLinear` and `extent` from D3 for axis scaling, and helper functions `xAxis` and `yAxis` for axes. The `viz` function draws axes, labels, and circles, with the penguin data sourced from the `@drbagwell/penguins` library. The checkerboard-gray background is filled via a rectangle.

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