Skip to main content
100%

Task-7 Q3

✓ Published1🌍 Public
JJames Cruz
Last edited Apr 15, 2024
Created on Apr 15, 2024
Forked from Hello VizHub

A scatter plot maps income against age for a jobs and salary dataset, with points colored by gender using D3's `scaleOrdinal` and `schemeCategory10`. The visualization loads CSV data via `d3.csv`, applies linear scales (`scaleLinear`) for both axes, and renders circles in an SVG container. Axes are generated with `axisLeft` and `axisBottom`, while labels for "Income" and "Age" are added as rotated and positioned text elements. The chart uses D3 v6 loaded from UNPKG and fills the browser window.

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