Skip to main content
100%

Q3

✓ Published0🌍 Public
MMandadi Nishita
Last edited Oct 23, 2024
Created on Oct 22, 2024
Forked from Activity6_Task3.1

This scatter plot visualizes the Palmer Penguins dataset, showing the relationship between bill length and bill depth, with points colored by species (Adelie, Gentoo, or Chinstrap). Using D3 v6, the code loads data via `d3.csv`, creates linear scales with `scaleLinear`, and renders circles with SVG. Axis labels use `axisLeft` and `axisBottom`, while the plot’s margins and labels are set manually, with text styled via CSS. The visualization adapts to the browser window’s dimensions for full-screen display.

AI-generated description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes