Fork of Q2 Area chart
✓ Published0🌍 Public
This visualization displays employee salaries grouped by gender, using overlapping area paths to compare the two categories across a categorical name axis. The chart loads CSV data via `d3.csv`, nests entries by gender with `d3.nest`, and renders the areas using the `d3.area()` generator. It maps salary values through `d3.scaleLinear` for the y-axis, applies a band scale for the x-axis, and colors each gendered area with a two-value `d3.scaleOrdinal`. The SVG output includes axes via `d3.axisBottom` and `d3.axisLeft`.
AI-generated descriptionA responsive scatter plot.
MIT Licensed