H1b Data with D3 React
✓ Published2🌍 Public
This example visualizes the number of H-1B visa petitions across U.S. states, displaying only the top 20 states in descending order as horizontal bars. The chart uses D3 scales (`scaleBand` and `scaleLinear`) within a React component, rendering SVG rectangles via the `Marks` component. Axes are custom-built with `AxisBottom` and `AxisLeft`, and data is loaded asynchronously from a CSV file hosted on GitHub Gist using D3’s `csv` function. The styling applies a Poppins font and teal bar fills.
AI-generated descriptionA program that shows the number of petition for visa in each states with descending order. In this picture, It only shows top 20 states.
Data: immigration programs data from The Office of Foreign Labor Certification (OFLC).
MIT Licensed