Select to view content in your preferred language

Help adding colors to countries by category

758
5
12-02-2022 09:13 AM
Labels (1)
Student00
New Contributor

Hello, similar to a 2016 post in this community that isnt helpful anymore, I am trying to add different color fills to countries.  Mine is based on the number of regime changes the US has attempted there.  I have copied the data from esri's world countries layer into an excel document and added two more categories one being with integers (# of coup attempts) and the other with strings (dates).  I add the layer by file but perhaps am choosing the incorrect location settings because the tables of the layers are incomplete when added and unusable.  I managed to successfully add all the data once but it is only shown in the table tab, not as a layer, which I think I need it to be so I can add a field and style the polygons of the countries area with varying colors depending on # of attempts.  Any help is appreciated, I am using the browser non-pro version of ArcGis.

0 Kudos
5 Replies
wayfaringrob
Frequent Contributor II

Is there a reason you're putting the info in an Excel sheet rather than just adding the fields to the copy of the data? If not, open the layer's item detail page:

rburke_1-1670001713325.png

Then go to 'Data' and click 'Fields.'

rburke_2-1670001743786.png

Click 'Add' and set up your field. Repeat for the other field.

rburke_3-1670001787034.png

rburke_4-1670001792820.png

Back in the table view, double click the cells to add your values. Return to your map and you should be good to go.

0 Kudos
Student00
New Contributor

Wow I didnt know this way to do it, much easier!  However, no "Add" button is to be found on my screen.  Do I need a different version of arcgis?  Thanks for helping me out!

0 Kudos
wayfaringrob
Frequent Contributor II

Are you sure you're working on your own copy of the data? If you are using the Living Atlas version (or anybody else's that you don't have edit privileges for), you can't edit that. You'll need to save a copy in your own AGO account by clicking the layer's 3 dots and Save As. Then, you'll make your edits on that version.

rburke_0-1670015947174.png

 

0 Kudos
Student00
New Contributor

Dang so I am using a copy I made of the layer but theres no add button.

0 Kudos
ziuffor
New Contributor

there is no add button for me either.

0 Kudos