Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ICE 6: Bar chart showing salary based on experiences

Public visualization

Viewing a saved revision (read-only)

e2dc1ad73bd3472ab48ddb7a5a763889

ICE 6: Bar chart showing salary based on experiences

0 stars2🌍 Public
SShreeti Upreti
Last edited Jun 25, 2022
Created on Jun 23, 2022
Forked from HTML Starter

This bar chart visualizes the relationship between years of experience and annual salary, with each bar's height representing salary and its color intensity mapped from a green color scale. The visualization uses D3 v7 to render SVG elements, employing `d3.scaleBand` for the x-axis, `d3.scaleLinear` for the y-axis, and `d3.scaleQuantize` with ColorBrewer's Greens palette for encoding salary values. Data is loaded asynchronously from a CSV file via `d3.csv`, and a color legend is generated using the d3-legend library.

AI-generated description

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

See also React Starter.