Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

activity7.1 question1

Public visualization

Viewing a saved revision (read-only)

937676d8501344d6b483cd7813f9eeea

activity7.1 question1

0 stars0🌍 Public
Ggketan456@gmail.com
Last edited Nov 4, 2024
Created on Nov 4, 2024

This scatter plot visualizes a custom shirt dataset, mapping age to the x-axis, height to the y-axis, and weight to the radius of each circle. The circles are colored by shirt size using a hardcoded color scale (e.g., XS is light blue, XXXL is red). The visualization loads a CSV file from a GitHub URL, parses numeric fields, and renders an SVG using D3.js. It uses `d3.csv`, `d3.scaleLinear`, `d3.extent`, and the `axisLeft` and `axisBottom` functions to display the axes with labeled tick marks.

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.