Blog Blender

Map of whiskey producing countries

,

For some time, I’ve been meaning to play with web friendly mapping and visualization tools such as d3.js, datamaps.js or crosslet.js. D3 is quickly becoming the defacto standard for displaying statistical visualizations on the web, and other libraries are hooking in to add additional capabilities, like mapping. Communicating data effectively is the future, if not right now, and being able to get that data on to the web efficiently is a valuable skill.

Like all skills, you need experience, and as a beginner it’s often best to dive in and muck around. It’s helpful, too, to have a purpose, or an itch to scratch when playing around with new tools. In my case, I wanted to create a map of countries that produce whisk(e)y.

First, I needed which countries produced whiskey. There’s no real definitive list, thus I used a composite of sources. And by produce, I mean distill. Also, I may have missed some countries or left them off if I could not corroborate what info I did find. Note, Scotland, Wales, England are part of the United Kingdom.

Next, I chose datamaps.js as my mapping tool. It looked straight forward and minimal. Tweaking a few settings, I set the default map color to grey and whiskey producing countries to red. To tell the tool to flag countries, you use an international three letter abbreviation and assign it an attribute. For example, here’s the designation for Australia:

AUS: {
fillKey: 'MAKES'
}

Datamaps.js can also add other contextual information in its rollover of a country. Say you know how many distilleries there are for a country, you can add an additional property.

Below is a screenshot of the map. Click here to view the map of whiskey producers in the world.

whiskeymap
Countries colored red are those that distill whisk(e)y.
PJH Studios artwork, Portrait of a sun

PJH Studios

Movies, music, books, whiskey, and culture in a blog blender

  • Map of whiskey producing countries

    For some time, I’ve been meaning to play with web friendly mapping and visualization tools such as d3.js, datamaps.js or crosslet.js. D3 is quickly becoming the defacto standard for displaying statistical visualizations on the web, and other libraries are hooking in to add additional capabilities, like mapping. Communicating data effectively is the future, if not…

  • 31 days of live music summary

    Thirty one days span the month of August. In those thirty one days, I saw, experienced, and absorbed live music. Everyday. The days ranged from loud, raucous, sweaty, boozy, sober, smokey, smoke-free, quiet, infectious, challenging, enthralling, boring, fun. Much like a mix cd with thirty one tracks, some shows surprised me with how much I…

  • Show #31 – Fou at Zio Carlo’s

    During the TCU-LSU halftime, I rolled down to Zio Carlos’s to catch Fou. The three piece played jangly dream pop as part of a benefit show for To Write Love on Her Arms. Thus mark’s the end of 31 straight days of live music.

  • Show #30 – Darrin Kobetich

    For the third time, I ventured to a patio show when the temperature read 100 plus degrees. Darrin Kobetich cooly played acoustic guitar instrumental songs with a classic guitar bent. One song, used the entire guitar, creating what sounded like three instruments. He tapped and thumped the body of the guitar while strumming and hammering…

  • Show #29 – Bob Noble Band

    The Bob Noble Band blues jam played a bluesy cover of “I Can See Clearly Now” with a velvet voiced female lead singer. Definitely pretty cool. Aside from that, I sat on Mambo’s patio and could hear the band perfectly.

  • Show #28 – Joey Green at Fred’s

    Joey Green strums a guitar laying tunes in the alt country vibe of Ryan Adams. He played a well received cover of Eli Young Band’s “Even if it Breaks Your Heart”.

  • Show #27 – Johnny Case Trio at Scat Jazz Lounge

    I forgot to take a picture for this show. Imagine the Johnny Case show I saw last week, only the bassist grew a beard.

  • Show #26 – Samuel Gross at the Grotto

    Great voice, definitely a rocker vibe. Very gritty cover of All Along the Watchtower. Closed set with an Alice in Chains song (and I’m blanking on the name of it). Really great guitar playing, getting a wide range of sound from the low and high end.

  • Show #25 – John Walker at Hot Damn Tamales

    Hot Damn Tamales serves up delicious all you can eat brunch, and is a hidden gem of a spot. John Walker played acoustic rock covers. Fitting for brunch.

  • Show #24 – Diabolical Machines and ALAN at Live Oak

    Diabolical Machines play a modern form of surf rock and power pop. Melodies, hooks and bouncy rhythms. They manage to include an electric ukulele on most songs. ALAN is a foursome that plays with tempo changes and chord progressions for its rocking sound. Songs sometimes soar to the anthemic.