Tutorial - Choropleth Map

First, let's create our map, add a base map, and create a feature layer. Also, to keep it simple, we import our data inline.

Step 1
Active
Inactive

We can use GeoJSON reader to create the polygon feature.

Step 2
Active
Inactive

We can also use polygon feature API to create the polygon feature.

Step 2-B
Active
Inactive

Now we style polygon with color.

Step 3
Active
Inactive

Or, we could create our choropleth map with the dedicated choropleth feature, which uses polygon feature internally.

Step 2-C
Active
Inactive

Now we can add a legend to our map.

Step 4
Active
Inactive