Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Final Project Bar Chart

Public visualization

Viewing a saved revision (read-only)

98f6f4f2240546e685ea8da95dbde7de

Final Project Bar Chart

0 stars2🌍 Public
DDuc Pham
Last edited May 6, 2024
Created on Apr 13, 2024
Forked from A4_Bar-chart

This interactive bar chart displays the top five average salaries for Data Science job titles in 2023, using a dataset loaded from a GitHub gist. The visualization, rendered as an SVG via D3 v7, sorts salaries in descending order and uses a band scale for the categorical y-axis. Users can toggle individual job titles on or off through checkboxes, which filter the displayed bars. A "Clear All" checkbox resets the visibility state. Hovering over a bar triggers a CSS tooltip, showing the exact job title and salary, while the bar’s fill color changes from steelblue to orange.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.