🌍 Public
Viewing a saved revision (read-only)
4d8710d8744f4788bc1c6ed4b667757d
Q1
This bar chart displays the average salary for various job titles, using data loaded from a remote CSV file. The visualization renders as an SVG with colored bars, a rotated x-axis for readability, and hover tooltips that reveal exact salary values. The code employs D3 v7 APIs including `d3.csv`, `d3.rollup`, `d3.mean`, `d3.scaleBand`, and `d3.scaleLinear`. Each bar is colored via a categorical ordinal scale, and mouse events trigger tooltip transitions to provide interactive feedback.
AI-generated description