Business Categories per US States
✓ Published0🌍 Public
This visualization shows the population of business categories across US states using a bar chart, where each state’s total population is broken down by category through color encoding. The chart reorders states by descending population and includes tooltips for exact values. Built with the vega-lite-api library, it renders via Vega-Lite’s markBar encoding, pulling CSV data from a GitHub-hosted Yelp business dataset. The code customizes axis styling and font sizes through a config object, integrating vega-tooltip for interactive hover details.
AI-generated descriptionA visualization constructed using the vega-lite-api.
MIT Licensed