Skip to main content
100%

Interactive Cocktail Alcohol Pie Charts on U.S. Map

✓ Published1🌍 Public
JJacklyn Turner
Last edited Oct 31, 2019
Created on Oct 26, 2019

This interactive visualization displays pie charts on a U.S. map showing the top 10 alcohols found in cocktails across eight major cities. The chart uses React with D3.js v5, employing `d3.geoAlbers` and `d3.geoPath` for map rendering and `d3.pie` and `d3.arc` for the pie charts. Hovering over the legend highlights matching ingredients across all pies, while tooltips reveal alcohol names and counts. Data comes from the Hotaling & Co cocktails dataset, with map shapes from the US-Atlas TopoJSON.

AI-generated description

Displays pie charts containing the top 10 alcohols found in cocktails across locations on a U.S. map. Based on the Hotaling & Co cocktails data set. Hovering over the values in the legend will highlight the alcohol and counts within each pie chart. 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