In RubiSight, you can create a map widget if your dataset contains geographical variables.

Geographical Variable

In RubiSight, a new variable type called geographical is added to represent a location. It is supported for the below-listed location identifiers.

  • Region
  • State
  • Country
  • Continent
  • Subcontinent

The geographical variable is denoted by the earth symbol (), and its Data Type is Text.


To create a dataset containing Geographical variable type, refer to Creating a Dataset with Geographical Variable Type.

(info) Notes:

  • The geographical variable is mainly classified for the Map widget in RubiSight. The main purpose of mapping unmapped/unknown locations is to use these values in the Map widget to plot the respective areas. When you plot the Map widget, it receives the mapped geographical location variable values from the dataset.
  • Mapped geographical location values are used for all charts. Also, these values are visible when you explore the dataset.
  • The geographical variable cannot be used in Google Maps widget because the locations in these maps are identified by latitude and longitude.

Creating a Map Widget using Geographical Variable

In RubiSight, a geographical variable type is used to represent the location type of features on Map widgets.

To add a dataset containing a geographical variable type column and plot a Map Widget, refer to Creating Visualization using Widgets on Dashboard.

In the following example, we create a Map widget using the Rainfall in India In February 2023 dataset. In the dataset, the Location column contains the names of Indian states/regions and union territories, which are geographical variables.

We plot the data for the Average Rainfall by States.




(info) Notes:

  • The above map is India with Disputed Territories.
  • If the dataset contains some unmapped locations, a warning symbol () is displayed on the widget.
  • When you hover over the symbol, you can see the number of unmapped locations.
  • No exclamation mark on the widget is observed when all locations are mapped.
  • The regions are colored with varying shades according to the aggregated value of the selected measure column. In this example, the selected measure is Average Rainfall by locations. The darker the color, the more is the Rainfall in that region.
  • When you hover over a region, you can see the value of the measure variable selected. In the example, you can see the Average Rainfall by states.

 

Scenario 1:

In datasets containing regions from India, you can view different maps –

  • India with Disputed Territories
  • India with Andaman and Nicobar

For example, the map plotted in the figure is of India with Disputed Territories.

To change the map, follow the steps given below.

  1. In the widget pane, click Format.
    The Map Widget formatting options are displayed in the pane.
  2. Click the Region drop-down.
  3. Type the name of the map that you want to view. Partial text is also allowed.
    In the example, we select India with Andaman and Nicobar.



    The map is changed to India with Andaman and Nicobar.



(info) Notes:

In this map, you can see,

  • Region like Telangana is not visible (since Telangana was formerly a part of Andhra Pradesh).

           

Scenario 2:

In View Mode, you can apply the interactivity filter by selecting a region. In this case, only the selected region is highlighted, and other regions are disabled.

In the example, when you click Himachal Pradesh, you see that the region is highlighted and the Average number of Rainfall is displayed in it.

At this time, all other regions are disabled.