Skip to main content
100%

Top Cocktail Ingredients with Interactive Legend

✓ Published3🌍 Public
JJacklyn Turner
Last edited Oct 23, 2019
Created on Oct 8, 2019

A map of the United States plots the top ten cocktail ingredients by city, with circle size proportional to ingredient count and color indicating the specific ingredient. An interactive legend filters the map on hover, dimming non-selected ingredients and their corresponding data points. The visualization uses React and D3, employing `d3.scaleSqrt` for sizing, `d3.scaleOrdinal` for color assignment, and `d3.geoPath` to render the map from US-Atlas topology data. City coordinates and ingredient data come from the Hotaling & Co cocktails dataset.

AI-generated description

A map showing the top 10 ingredients used in cocktails across the US from the Hotaling & Co cocktails data set. Hovering over ingredients in the legend highlights them on the map.

US map shapes are provided by US-Atlas CDN by jsDelivr.

MIT Licensed

Similar vizzes