Skip to main content
100%

Activity6_Question3_6

✓ Published0🌍 Public
Llikhitha.sarahah01@gmail.com
Last edited Oct 23, 2024
Created on Oct 19, 2024
Forked from Hello VizHub

A scatter plot visualizes bill length against bill depth for penguin species, with color encoding species identity and a corresponding legend. The D3 v7 example loads the penguins CSV from a GitHub repository, parses it with `d3.csvParse`, and renders circles using `d3.select` joins. It builds linear scales via `d3.scaleLinear`, axes with `d3.axisBottom` and `d3.axisLeft`, and uses `d3.scaleOrdinal` with `d3.schemeCategory10` for colors.

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