Top Cocktail Alcohols
✓ Published1🌍 Public
This visualization displays the top five cocktail alcohols—Whiskey, Vodka, Gin, Rum, and Tequila—across five U.S. cities, using horizontal bars colored by location. It shows the count of cocktails per alcohol, with tooltips revealing individual cocktail names. The chart is built with vega-lite-api, which wraps Vega-Lite and Vega, and loads data via d3.csv from a Hotaling & Co. dataset. The code filters the parsed ingredients CSV in getData.js before rendering bars with config.js customizing axis styling.
AI-generated descriptionThis visualization was constructed using the vega-lite-api and is based on the dataset of cocktails collected by alcohol importer and distiller Hotaling & Co. It shows the top 5 alcohols used in cocktails found in the top 5 cities.
MIT Licensed