Skip to main content
100%

Barchart

✓ Published0🌍 Public
DDuc Pham
Last edited Feb 6, 2024
Created on Feb 6, 2024

This bar chart displays the relationship between bill length and flipper length for penguins, using the Penguins Dataset. Each circle represents a penguin, with its position mapped by scaled linear axes for both measurements. The visualization renders circles on a gray inner rectangle, with labeled axes for clarity. Built with D3, the code uses `select` and `join` for SVG management, `scaleLinear` and `extent` for scaling, and axis components from `@curran/axis-labels` for labeling. Circle radius and opacity are fixed values, and the chart adapts to container dimensions.

AI-generated description

A simple scatter plot with D3 showing the Penguins Dataset.

Challenge

  • Fork this viz
  • Modify it to show your data
MIT Licensed

Similar vizzes