Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q3

Public visualization

Viewing a saved revision (read-only)

adc57d76a5c54ed3bb1f9a459f6c6c89

Q3

0 stars0🌍 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.