Skip to main content
100%

Fork of Q2 Area chart

✓ Published0🌍 Public
Rramsrinivaskatragadda@my.unt.edu
Last edited Apr 13, 2024
Created on Apr 13, 2024
Forked from Q2 Area chart

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 description

A responsive scatter plot.

MIT Licensed

Similar vizzes