🌍 Public
Viewing a saved revision (read-only)
5de4ec5929c74b278c29cd0ca4685714
Assignment 5 DataViz
This example displays a text-based summary of employee salary data, including total employee count, average age, average salary, highest and lowest salaries, and a breakdown of employees per role. It loads a CSV file from a gist using `d3.csv`, parses and cleans the salary strings, and computes summary statistics with `d3.mean`, `d3.max`, `d3.min`, and `d3.rollup`. The results are rendered as HTML inside a styled summary box, alongside a static SVG rectangle graphic.
AI-generated description