Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HeatMap:

Public visualization

Viewing a saved revision (read-only)

f3dc28b93db74336b3e815d38907a8f1

Fork of HeatMap:

0 stars0🌍 Public
Oomniaabouhassan@gmail.com
Last edited Oct 22, 2024
Created on Oct 22, 2024

This visualization displays unemployment rates across US states for the year 2022, rendered as a single-column heatmap using shades of blue. Built with D3 v6, it uses `d3.scaleBand` for the x and y axes, `d3.scaleSequential` with an interpolateBlues color scale, and SVG rectangles for each state cell. Interactive tooltips appear on mouseover using D3's selection API, showing state name, year, and unemployment percentage. Data comes from a CSV file on unemployment per US state.

AI-generated description

A demonstration of how to start using D3 version 6.