Category: mapping

Use Grouping to Make the Most of Your Map

Online maps can be indispensable to navigate, explore, and visualize information. However, the power of these maps is often underutilized.

In this post, we’ll showcase how you can maximize your online maps by grouping data using markers. But before you can make the most of your online maps, let’s cover some basics.

Map-Making on the Web

You don’t need a background in geography or any programming knowledge to create custom maps on the web, but there are some important pointers to keep in mind as you create them.

Typically, web-based mapping tools rerquire a spreadsheet of the data you want to map — this can be in Excel, Google Sheets, or other compatible alternatives.

The data should include at least some location information, with separate columns for address, city, state, country, etc. If your data isn’t already separated, you can use the “Text to Columns” functionality to do so quickly.

In addition to location details, your data may include other information; one example is the height metric you can see on our map of the tallest lighthouses in the US.

This brings us to map grouping, through which you can select only the markers that meet certain requirements, filtering out the rest. Let’s talk about the benefits of map grouping.

What Is Map Grouping?

Groups can be combined to zero in on specific results, giving you insight into the story behind the map. While no prep work is required (BatchGeo will intuitively find a home for any additional data you have), you can certainly make the most of grouping by doing a bit of data manipulation, which we’ll show you next.

View Global city rating in a full screen map

The map above of every city’s globalization rating contains location information (in this case, city and country names). It also includes the classification, which becomes available for group selection.

Let’s try grouping some markers. Let’s say you want only the cities with the best globalization classification (Alpha + and Alpha ++):

  • Hover above the dropdown in the lower left of the map to reveal the grouping columns.
  • Choose ‘Classification’ from the menu. Each marker on the map will change color based on its group.
  • Select the top two ranges (‘Alpha +’ and ‘Alpha ++’). As you select each, the map will filter to include only the markers that match your selection.

Troubleshoot Missing Map Groups or Ranges

One common hiccup in grouping is missing groups or unexpected formatting within your mapped data. But there are ways to troubleshoot these issues, as we’ll cover next, starting with missing groups.

Fix Missing Groups with “N/A”

If you find that a column eligible for grouping is not showing up in the dropdown menu at the lower left-hand corner of your map, follow these steps for effective troubleshooting:

  • First, return to your spreadsheet and identify the column or columns that aren’t showing up for grouping.
  • Next, look for any empty cells in columns that normally contain data.
  • Sort the column(s) to push the empty cells to the bottom.
  • Input “N/A” into the first empty cell, ensuring it’s in all caps.
  • Drag this entry down to apply “N/A” to all empty cells.

Once completed, edit your map with the new data, and the missing groups should appear.

Adjust the Format of Non-Ranging Numbers

If your numerical data is grouping correctly but is lacking your desired ranges, it’s time to make further adjustments in your spreadsheet. Follow these steps to rectify the issue:

  • Identify the column with the numerical data that isn’t ranging.
  • Head to the “Format” menu and check the current format under “Number.”
  • Toggle to “Plain text” or “Automatic”, whichever is not currently selected.

Of course, if you’d rather not have your data grouped, you can disable it by editing your map. In “Validate and Set Options,” select “Single Color” for the Group By option.

Maps Work Better with Grouping!

Thanks to online maps and the grouping feature from BatchGeo, understanding your location data is easier than ever.

Show Wikipedia Images on a Google Map

Compared to spreadsheets, maps are better at visualizing your information and helping you make sense of your data’s geography. Yet, even the most customized map doesn’t always tell the whole story.

You can give your location markers more context by going beyond textual information — we’re talking about incorporating images. After all, a picture is worth 1,000 words.

BatchGeo is already the easiest way to map your spreadsheet data. If images are part of that information, BatchGeo maps can display those, too. And while there are many places to find free-to-use photos, nothing beats Wikipedia for images.

The Best Wikipedia Pages Have Tables and Images

To level up your map, start by finding some images. Since we’re focusing on images from Wikipedia, we’ll start there.

Pop your topic into a Google search bar. While Wikipedia may organically top the results, you can further filter your search by adding “site:Wikipedia.org.”

You will likely see quite a few options. Those starting with “List of” will be your best bets, as these Wikipedia pages often contain images as well as text.

Automatically Capture Wikipedia Table and Image Data

While Wikitables make copying and pasting the data into a spreadsheet easier than the alternative, you still don’t want to manually do so for rows and columns of information, including the image links. Instead, you can use a tool that automatically grabs the data for you to paste into your spreadsheet while maintaining the table format from Wikipedia.

We recommend the Table Capture browser extension in Chrome. Here’s how to use it:

  • Add the Table Capture extension to your Google Chrome browser.
  • Because we want to pull in images, click the extension in the upper right corner of your browser and choose “Options.”
  • In the “Options” tab, check “Extract Image and Icon Attributes” and make sure “Ignore Images Completely” is unchecked.
  • Hit “Save.”
  • Navigate to the Wikipedia page where you want to pull a data table.
  • Once again, click on the Table Capture extension.
  • Select your desired table(s).
  • Click the icon representing the action you want, such as “Copy table data to the clipboard.”
  • Paste to your spreadsheet.

Now that you’ve gathered your data, you may still need to do a few clean-up tasks, such as splitting the associated text into different columns from the actual image links. You can prepare your data in Excel, but follow these steps if you’re a Google Sheets user:

  • Select the column containing the information you want to split.
  • In the “Data” tab, opt to “Split text to columns.”
  • In the pop-up box, choose “Custom” and type in the “Separator” (in our case, an open parenthesis).

Most of your data should now be separated into two columns, though you can manually fix any that weren’t formatted properly. Update each heading to better distinguish the two, and now you’re ready to create a custom map of your data and images.

Map Your Data and Images

Follow the usual steps of creating a BatchGeo map:

  • In your spreadsheet, select (Ctrl+A or Cmd+A) and copy (Ctrl+C or Cmd+C) your data, including image links.
  • Open your web browser and navigate to batchgeo.com.
  • Click on the location data box with the example data, then paste your data (Ctrl+V or Cmd+V).
  • Check that you have the proper location data columns by clicking “Set Options.”

Here’s the important part: Before you click “Map Your Data,” select “Show Advanced Options” and select the correct column for your image data in the “Image URL” dropdown. Now you can watch the geocoder perform its process while also incorporating your images into the map, which should look something like this:

View National flowers and trees in a full screen map

There you have it! Your map of Wikipedia data is complete with images thanks to BatchGeo!

Coffee Consumption by Country

In a world where jokes about needing coffee to start the day are ubiquitous, and Starbucks is practically everywhere, uncovering exactly how much coffee people consume may just be a grande undertaking.

In this post, we’ll examine annual coffee consumption across 66 countries in terms of sheer volume and per capita. While the most significant consumer in volume alone may not be too surprising, the list changes drastically when population is taken into account.

We’ll also take a look at which countries are the largest producers of the nearly 20 billion pounds of coffee consumed in the world every year. Finally, we’ll explore how tea performs against that morning cup of joe.

View Coffee Consumption by Country in a full screen map

The US Tops Volume of Coffee Consumed Each Year

Coffee Consumption Rank Country Coffee Consumption (bags) Coffee Consumption (lbs)
1 United States of America 26,651,000 3,525,314,327
2 Brazil 22,000,000 2,910,094,000
3 Germany 8,670,000 1,146,841,590
4 Japan 7,355,000 972,897,335
5 France 6,192,000 819,059,184
6 Italy 5,469,000 723,422,913
7 Indonesia 4,806,000 635,723,262
8 Russia 4,631,000 612,574,787
9 Canada 3,929,000 519,716,333
10 Ethiopia 3,781,000 500,139,337

Over 500 million pounds of coffee are consumed by each of the top coffee-consuming countries, with the United States in the lead. Americans consume a staggering 3,525,314,327 pounds of coffee each year. Brazil is next, with 2,910,094,000 pounds, followed by Germany, Japan, and France.

But how do these top countries fare once population is taken into account?

Per Capita Tells a Different Story (Nordic Supremacy)

Accounting for population, the US and Brazil fall to #24 and #12, respectively.

Meanwhile, the tiny country of Luxembourg leads the per capita consumption list with a remarkable 45 lbs of coffee per person per year. Rounding the numbers to the nearest pound, Finland (32), Sweden (22), Norway (22), and Denmark (17) also exhibit high per capita consumption, emphasizing the strong affinity for coffee across Nordic countries.

Other nations also maintain significant coffee consumption patterns, including Austria (17) and Switzerland (16). The Netherlands, Greece, and Germany follow them.

Moving on from consumption, it’s also interesting to delve into where our coffee beans come from.

Coffee Production Around the World

The following are the top producers of everyone’s favorite morning cup.

  • Brazil: 7,699,936,764 lbs of coffee produced annually
  • Vietnam: 4,032,755,354
  • Colombia: 1,865,118,928
  • Indonesia: 1,512,309,713
  • Ethiopia: 971,362,922
  • Honduras: 784,561,342
  • Uganda: 728,740,448
  • India: 659,744,765
  • Mexico: 527,070,934
  • Peru: 507,467,483

Brazil, the world’s second-largest consumer of coffee, also stands out as the largest producer by a significant margin, contributing over seven billion to the world’s coffee output. The field of coffee production appears to be particularly concentrated in South America and Southeast Asia.

But coffee isn’t the only drink loved by millions.

What About Tea?

The world consumes nearly 20 billion pounds of coffee every year. Yet many opt for a comforting cup of tea instead. The following countries consume the most tea each year:

  • Turkey: 6.96 lbs of tea consumed annually per capita
  • Ireland: 4.83
  • United Kingdom: 4.28
  • Iran: 3.30
  • Pakistan: 3.30
  • Russia: 3.05
  • Morocco: 2.68
  • New Zealand: 2.63
  • Chile: 2.62
  • Egypt : 2.23

While the largest consumer of tea — Turkey, with around seven lbs per capita — doesn’t come anywhere near the largest consumer of coffee — Luxembourg, with over 45 lbs per capita — the number is still significant.

Ireland, with a per capita consumption of around five pounds, stands out as another notable consumer of the hot beverage. Meanwhile, the UK, arguably the best-known country for tea, ranks third.

Both coffee and tea are among the world’s national drinks. Tea is the more popular choice as a national drink (36 countries) than coffee (25). Learn more by checking out our world’s national drinks map.