Column

Interactive map

Column

About

Purpose

To demonstrate:

  • geolocation of artificially-generated IP addresses
  • plotting the coordinates of the IP addresses with arbitrarily-assigned colours and icons
  • display the data in tabular form alongside the map for further interrogation
  • wrapping this into a user-friendly interface

How to

You can:

  • zoom with the + and - buttons on the map (upper left), or with your mouse wheel
  • toggle marker layers with the checkboxes on the map (upper right)
  • measure distances and areas with the square-rule button on the map (upper right)
  • click markers to get information about that point
  • search, filter and sort a table of these data in the ‘Explore the data’ tab

Key

The icons and colours are arbitrary and have no intrinsic meaning.

Element Meaning
Full battery
Low battery
Empty battery
Group A
Group B
Group C

Data and tools

Coding was performed with R, using the:

  • generator to generate fake IP addresses (link)
  • freegeoip to geolocate the IP addresses via API (link)
  • leaflet for building the map (link)
  • DT for datatables (link)
  • flexdashboard for the layout (link)
  • ionicons for icons (link)

Version

Matt Dray
Version 0.2
Generated 27 February 2018

Explore the data