Skip to main content
100%

Visualization for the Gender Wage Gap in the US

✓ Published0🌍 Public
Xxiaoma1002
Last edited Mar 1, 2020
Created on Mar 1, 2020
Forked from HTML Starter

This visualization compares the gender wage gap across eight occupations in the US for the year 2017, plotting income on the x-axis and job categories on the y-axis. Three colored lines represent females, males, and all persons, with a legend identifying each group. The chart uses D3 v5 to load the CSV data, filter by year, and render an SVG with linear scales for both axes, gridlines, and axis labels. The code employs `d3.csv`, `d3.scaleLinear`, `d3.axisLeft`, and `d3.axisBottom` to construct the visualization.

AI-generated description
MIT Licensed

Similar vizzes