Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

A8Task3

Public visualization

Viewing a saved revision (read-only)

52022cc766924806a71f30df92e0fcce

A8Task3

0 stars0🌍 Public
Sshaiksajidali
Last edited Apr 11, 2024
Created on Apr 11, 2024
Forked from Activity-6

This example shows a scatter plot of age against height, with each point colored by income level: red for incomes below 60,000, yellow for 60,000–70,000, and green for above. The SVG chart uses d3.scaleLinear to map extents to pixel ranges, d3.axisLeft and d3.axisBottom for axes, and d3.csv to load a remote dataset. Dot size is fixed at 4 pixels, with axis labels styled in green.

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.