π Public
H1B Petition with Interactive Legend for Case Status
Yyyaaa1
Last edited Oct 20, 2019
Created on Oct 20, 2019
This example visualizes H1B petition case statuses across U.S. cities on a map using React and d3.v5. The map renders state boundaries and graticules with `d3.geoPath` and `d3.geoAlbers`, while city coordinates are projected from a CSV dataset containing longitude and latitude values. An interactive legend, built as a custom React component, uses `onMouseEnter` and `onMouseOut` handlers to highlight a selected case status by fading non-matching circles. The visualization loads geographic data from the us-atlas TopoJSON CDN and petition data from a GitHub-hosted CSV file.
AI-generated descriptionA map showing H1B petition status .
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
Comments
Sign in to join the discussion.