Skip to main content
Public

Share visualization

Loading preview…

H1B Petition with Interactive Legend for Year

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

H1B Petition with Interactive Legend for Year

2
Yyinhao0424
Last edited Oct 23, 2019
Created on Oct 23, 2019

This visualization maps H1B petition locations across the United States, with circles colored by petition year. An interactive legend on the right filters the map by year when hovered, dimming non-matching data points. The visualization uses React for component structure, D3’s `geoAlbers` projection and `geoPath` for rendering US state boundaries from TopoJSON data, and `scaleOrdinal` for color encoding. City coordinates come from a CSV dataset, rendered as SVG circles with opacity controls for the hover interaction.

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

Comments

Sign in to join the discussion.

MIT Licensed