Skip to main content
100%

ICE7 Q3

✓ Published1🌍 Public
Bbrodyoneal10@gmail.com
Last edited Mar 29, 2026
Created on Mar 29, 2026
Forked from ICE7 Q2

A line chart visualizes average salary against age, using aggregated employee data from a CSV file linked in the script. The D3.js code computes the mean salary for each distinct age value with `d3.rollups` and `d3.mean`, then sorts the results by age. The chart is rendered as an SVG, with axes created via `d3.axisBottom` and `d3.axisLeft`, and the trend line drawn using a `d3.line` generator. Points, a legend, and labels are added as SVG elements, with the chart's visual identity defined in the `styles.css` file.

AI-generated description
MIT Licensed

Similar vizzes