🌍 Public
Viewing a saved revision (read-only)
0f704fc26cbc4e6a88be98f1d0f70dc4
Activity-6_Question-3
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 descriptionAn example showing scatter plot with points