Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Interactive Bar Chart Analysis

Public visualization

Viewing a saved revision (read-only)

95ded6d1b6d44c149c9cdf66a74e71e6

Interactive Bar Chart Analysis

0 stars0🌍 Public
GGeorge Oyosa
Last edited Apr 16, 2024
Created on Apr 16, 2024

This interactive bar chart displays the average salary distribution across various data science job titles, sourced from a CSV dataset of data science salaries. Users filter the displayed salary range using a slider and numeric inputs, while a dropdown menu toggles sorting by salary or job title. The chart, rendered with D3 v7 as an SVG, uses `d3.rollup` to aggregate and `d3.mean` to calculate averages, with `d3.scaleBand` and `d3.scaleLinear` handling the axes. Bars update dynamically via a custom `updateChart` function and include hover tooltips.

AI-generated description