Viewing a saved revision (read-only)
e9aae3b1a60749c7aa7ea88b1597639d
H1B Petition with Interactive Legend for Year
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 descriptionA 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