Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of SVG

Public visualization

Viewing a saved revision (read-only)

97325478ba014d7895246d553b43ea93

Fork of SVG

0 stars0🌍 Public
MMonish Galla
Last edited Apr 25, 2024
Created on Apr 25, 2024
Forked from SVG

This visualization uses a grouped bar chart to compare job title populations between 1980 and 2023. The code loads data from a merged JSON dataset via `d3.json()` and uses `d3.scaleBand()` for the categorical x-axis, `d3.scaleLinear()` for the y-axis, and SVG `<rect>` elements to render the bars. Hovering over a bar triggers an interactive tooltip that shows the job title and population value. The chart is built with the D3 library (v6) and rendered as static SVG with CSS styling for the legend and tooltip.

AI-generated description