Skip to main content
100%

Pies for Top Cocktail Ingredients with Interactive Legend

✓ Published0🌍 Public
JJacklyn Turner
Last edited Oct 31, 2019
Created on Oct 25, 2019

This interactive map displays the top 10 cocktail ingredients across major U.S. cities, using colored pie charts positioned at each city’s coordinates to show ingredient proportions. Hovering over the legend highlights matching ingredients on the map while dimming others. Built with React and D3 v5, the visualization uses d3.pie for chart generation, d3.geoAlbers and d3.geoPath for the map projection, and d3.scaleOrdinal for color encoding. Data comes from the Hotaling & Co cocktails dataset, with U.S. state shapes from the us-atlas TopoJSON.

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