Interactive Bar Chart Analysis
✓ Published0🌍 Public
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 descriptionMIT Licensed