Skip to main content
100%

Fork of Fork of Webpage

✓ Published0🌍 Public
KKiernan Nesslar
Last edited Apr 30, 2024
Created on Apr 30, 2024
Forked from Fork of Webpage

This example shows the top 10 job titles in a data science salary dataset, ranked by total salary in USD and displayed as a stacked bar graph. Each bar represents a single job title, with color-coded identity and hover effects that increase fill opacity. The visualization loads CSV data from a GitHub repository using `d3.csv`, aggregates salary sums with `d3.rollups`, and sorts/selects the top entries. It renders SVG rectangles scaled by `d3.scaleBand` and `d3.scaleLinear`, with axes via `d3.axisBottom` and `d3.axisLeft`, plus a legend built from the color scale.

AI-generated description
MIT Licensed

Similar vizzes