Task-7 Q3
✓ Published1🌍 Public
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 descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.
MIT Licensed