Introducing TigerGraph 3.2’s New Geospatial Layout Feature: Mapping COVID-19 Travel Events

How to Use TigerGraph 3.2’s Geospatial Layout with the COVID-19 Starter Kit

Shreya Chaudhary
Towards Data Science

--

Introduction and Overview

TigerGraph 3.2

As of September 30th, TigerGraph has officially released version 3.2, and 3.2 is now available for TG Cloud as well! To read more about the release, check out the release notes.

Rationale

When exploring your graph data, you may use map coordinate data. TigerGraph 3.2 has recently released a brand new geospatial visualisation feature to help you easily understand where the majority of your data is located and identify any anomalies there might be.

Tools Used

  • TigerGraph Cloud
  • TigerGraph COVID-19 Starter Kit

Itinerary

  • Part I: Create your TigerGraph 3.2 Solution
  • Part II: Prepare your Graph
  • Part III: Use the Geospatial Visualisation Feature

Part I: Create your TigerGraph 3.2 Solution

First, we will set up a TigerGraph 3.2 solution on TigerGraph Cloud. To do so, navigate to https://tgcloud.io/, and create your free account if you have not already.

Once you have logged in, navigate to the “My Solutions” tab then click the blue “Create Solution” button.

Select “My Solutions” then click the blue “Create Solution” button.

You will be directed to a four-step process to set up your solution. On the first page, ensure you have 3.2 as the TigerGraph Version, then click on the “COVID-19 Analysis v3.2.0” icon for the Starter Kit. Once you are finished, scroll down and press “Next.”

Select 3.2 as the version and “COVID-19 Analysis” as the starter kit.

As usual, don’t edit anything for the second page if you want to spin up a free solution. On the third page, customise the options to your solution.

Don’t change anything on this page!
Customise this page for your solution!

On the final page, verify that the information you entered is correct, then press submit! It may take a few minutes to set up.

Check everything is good and submit

Part II: Preparing the Graph

Before we start to visualise our data, we need to load the data through GraphStudio. To do so, after your solution has a green dot next to it, press the four small boxes (“Applications”) and select GraphStudio.

Wait till your Status says “Ready”
Select the four small boxes (“Applications”) then choose “GraphStudio” from the dropdown

You will be redirected to GraphStudio. After logging in, click “Global View” in the top left corner then select “MyGraph” from the dropdown.

In “MyGraph,” select the “Load Data” tab. You can either load all by pressing the play button or just select the PatientRoute.csv and press play to only load that file, as we will only be visualising TravelEvent vertices for this blog.

Press the play button in the top left corner

Wait till it says “Finished,” then you will be set!

Successfully loaded PatientRoute.csv.

Note: We are using the TravelEvent vertex because the geospatial layout requires vertices with attributes of latitude and longitude.

Part III: Using Geospatial Visualisation Feature

Now that you have your data, it’s time to visualise it. Click into the “Explore Graph” tab.

Click the “Explore Graph” tab

Next, only select “TravelEvent” vertices and select 100 of them, pressing the “Pick vertices” button.

Next, select “Geospatial” in the dropdown in the bottom right corner.

Click “Geospatial” in the bottom right-hand corner.

And, voila, the vertices are now on a map.

TravelEvent Vertices Mapped

Congratulations + Next Steps

Congrats! You can now officially use the newest layout feature in TigerGraph Cloud! Now that you have used it for a starter kit, try adding it to your own data and own solution.

If you have any questions, do not hesitate to post them in the Community Forum.

Furthermore, if you want to chat with other TigerGraph developers, be sure to join the Discord.

--

--