вторник, декабря 03, 2024

The Joy-Plot Map of Europe

map of Europe using horizontal lines with peaks used to show population levels

The Ridgeline Map of European Population Density is an interactive map that provides a multi-resolution visualization of Europe's population density in the form of a joy-plot.

Joy-plots, also known as ridgeline plots, draw their inspiration from one of pop culture’s most iconic visuals: the album cover of Unknown Pleasures by Joy Division. Designed by Peter Saville in the 1970s, the cover features a mesmerizing depiction of radio waves emitted by a pulsar (the image was originally published in the Cambridge Encyclopaedia of Astronomy). Over time, this striking design has transcended its musical roots to become a cultural and artistic symbol. In the world of data science, visualizations that echo this pulsar-inspired aesthetic are affectionately dubbed “joy-plots,” paying homage to the legendary album and its enduring influence.

This interactive joy-plot map of European population density was made using Gridviz. Gridviz is 'a JavaScript library for visualizing gridded data ... using a large variety of cartographic styles and techniques.' The resulting joy-plot map leverages the Eurostat GISCO Population distribution dataset to represent population density as horizontal ridgelines, where vertical peaks convey the density of the population across different areas of the continent.

Three different styles of joyplot map showing European polulation density

Gridviz even offers three unique joy-plot styles for exploring European population density data: the basic joyplot, the shaded joyplot, and the random colored joyplot. As users zoom in on these maps, higher-resolution joy-plot lines appear, revealing finer details about population density at more localized levels. Additional place-name labels are also displayed, making it easier to navigate and understand the data at different scales.

понедельник, декабря 02, 2024

Geotripper - the Traveling Salesman Game

Only a few days after the release of the flight sim game Travel Cat the prolific TripGeo is back with another entertaining geographical map game. GeoTripper offers players a unique challenge: charting the shortest possible route through a series of random destinations around the globe! 

GeoTripper is a lot of fun to play. I was fortunate enough to get a sneak peek of the game over the weekend, and I’ve been hooked ever since. It is an original concept for a game which also manages to be very addicting!

Remember that - as I'm now going to get a little technical in exploring the dynamics of the game - 

Here's how it works:

  1. You are given a list of locations.
  2. You plot a route to connect them all in the shortest distance.
  3. You submit your route and earn points based on how close your plan is to the optimal solution.
In essence, GeoTripper challenges players to solve a series of Traveling Salesman Problems (TSP). 

The Problem:

The TSP is a classic optimization problem in mathematics and mapping. Imagine a salesperson who needs to visit a number of cities. The challenge is to determine the shortest possible route that visits every city exactly once. The TSP has clear real-world applications, such as optimizing delivery routes for goods.

The Solution:

There are several methods for solving a TSP, including the Held-Karp algorithm and the Christofides algorithm. GeoTripper uses a brute force approach. This method involves calculating all possible permutations of the listed cities and determining the total distance for each route.

It's Fun!

You don’t need to worry about solving complex TSP algorithms while playing GeoTripper. Instead, you can just use your geographical knowledge to plot the best-looking route on the map. Your score depends on how close your route is to the optimal one.

With 12 different routes to complete in various regions of the world (plus a global challenge), GeoTripper offers plenty of variety. Players earn points and gold cups for each route, and the ultimate goal is to collect gold cups for all 12 routes.

A Race Against Time

Geotripper resets every 15 minutes (at :00, :15, :30, and :45 past the hour). This means you have only a quarter of an hour to complete all 12 routes - but it also means there are 12 new rounds to play every 15 minutes!