Create a map component

You can create a map component and display the countries, revenues, and pins on US cities where the orders were shipped.

  1. In Studio, create a new View called Map Revenue.
  2. Add a map component.
  3. Navigate to Data Wizard > Shape definition:
    1. In the Metric field, select the Revenue metric.
    2. Enter a name in the Display name field, such as Revenue.
    3. Select by value, range by and select Opacity from the list.

      This option assigns a darker color to higher revenue countries.

    4. In the Shape layers table, select ShipCountry as the dimension layer for Countries.
    5. Select By name.

      If you have defined a Country Code, the country code appears. If not, the Country name appears.


  4. Open Data Wizard > Pin layers.
    1. Select Add New Data to create a new layer. When prompted for the layer type, select Record layer.
    2. In the Data wizard, Record field, select Orders.
    3. In the Display wizard, Drill Downs tab, select ShipPostalCode from the Location list. In this example, use the remaining default settings. Click OK.
  5. In the Display Wizard:
    1. Select Countries as layers.

      This option displays all the countries.

    2. Select OrderDate as a pin layer.
  6. Click OK.
  7. Save the changes.

  8. Open the View in the Preview/Viewer. Zoom in to see US cities and pins.