Skip to main content
100%

H1B Petition with Interactive Legend for Year

✓ Published1🌍 Public
Yyinhao0424
Last edited Oct 25, 2019
Created on Oct 25, 2019

A choropleth map displays H1B petition locations across the United States, with each city’s year color-coded using a categorical ordinal scale from d3’s `schemeYlGnBu`. An interactive legend, built with React components, allows hovering to filter and highlight petitions from a specific year while dimming others via opacity. The map uses `d3.geoPath` with a `geoAlbers` projection and US-Atlas TopoJSON data, while city coordinates are loaded from a CSV file.

AI-generated description

A map showing H1B petition in different years .

US map shapes are provided by US-Atlas CDN by jsDelivr.

The US map was inspired by Top Cocktail Ingredients with interactive legend

MIT Licensed

Similar vizzes