Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE-6

Public visualization

Viewing a saved revision (read-only)

f2bfca454a2c4183be44a421c296e6e6

ICE-6

0 stars0🌍 Public
Mmendemrudula@gmail.com
Last edited Oct 19, 2025
Created on Oct 18, 2025
Forked from HTML Starter

This interactive bar chart ranks the top ten departments by average salary, displaying each as a rounded rectangle labeled on the left and colored on a cyan-to-teal gradient. The visualization is built with React and D3 v7, using a `scaleBand` for the categorical axis, a `scaleLinear` for the quantitative range, and a `scaleLinear` color scale for the gradient fill. Data is loaded from a local CSV file with `d3.csv` and grouped by department via a `d3.rollup` operation, with tooltips exposing exact salary values.

AI-generated description