Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Business Categories per US States

Public visualization

Business Categories per US States

0 stars0🌍 Public
CChongho Lee
Last edited Nov 17, 2019
Created on Nov 17, 2019

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 description

A visualization constructed using the vega-lite-api.

Comments

Sign in to join the discussion.

MIT Licensed