Maps using GEOJSON polygon shapes - Example

Let’s create an example, using your “Sigma Sample Database” connection.

  1. Create a new viz of the type Map - GeoJson.
  2. Data source will be New, Table, “Sigma Sample Database” connection, PLUGS_ELECTRONICS.D_GEOJSON_US_STATES
  3. Transform the State GeoJSON column into Json data type:

  1. Drag that column onto the GEOJSON Shelf of the left panel:

  1. Change Marks Color to be “By Scale”, then drag the State Code onto the color shelf, so that it looks like this: