Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Activity-6_Question-3

Public visualization

Viewing a saved revision (read-only)

7c923183651d4987bfcf088ae692a08f

Activity-6_Question-3

0 stars0🌍 Public
Aabdul.khader2899@gmail.com
Last edited Apr 6, 2024
Created on Apr 5, 2024

This interactive scatter plot visualizes relationships between age and salary from a gender-based occupations dataset. Points are color-coded by gender (blue for male, pink for female, orange for other), and hovering reveals tooltips with the exact age, gender, and salary values. Built with D3 v6, the visualization uses `scaleLinear` for axes, `axisBottom` and `axisLeft` for ticks, and appends circles to the SVG with `selectAll('circle').data(data).enter()`. The plot includes labeled axes for "Age" and "Salary" with green, bold formatting.

AI-generated description

An example showing scatter plot with points