Employee Salaries - DataViz Assignment 5
✓ Published0🌍 Public
This example summarizes employee salary data from an external CSV file using D3 v7. It loads the data with `d3.csv`, cleans salary strings, and computes summary statistics such as average age, average salary, highest and lowest salary, and employee counts per role via `d3.mean`, `d3.max`, `d3.min`, and `d3.rollup`. The results appear in a styled HTML summary box, alongside a static SVG rectangle with a text label. The page uses plain D3 selections and updates the DOM dynamically, rendering all output as SVG and HTML.
AI-generated descriptionMIT Licensed