Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Geographical (by State) distribution of cases

va
5 - Atom

Let's say I have 2 columns of data.

State - Number of cases.

What are the steps to create a map showing, by State, the number of cases?

2 REPLIES 2
Yoshiro_Fujimori
15 - Aurora
15 - Aurora

Hi @va ,

 

Here is a potential solution. I hope it helps.

 

Workflow

Yoshiro_Fujimori_1-1683500348505.png

 

Output

Yoshiro_Fujimori_6-1683501096047.png

 

 

Input Data tool configuration

You need to get the data for the shape of the states from somewhere.

I use the shapefile from this site.

https://www.weather.gov/gis/USStates

Input Data tool supports Shapefile format. (.shp).

Yoshiro_Fujimori_0-1683500318274.png

 

Join tool configuration

Join the polygon data to your table with State code.

Yoshiro_Fujimori_2-1683500529517.png

 

Report Map tool configuration

You need to define the data to use on the map.

Yoshiro_Fujimori_5-1683500795534.png

 

Then you need to add a Polygon layer.

Yoshiro_Fujimori_4-1683500676526.png

 

Then you can define the Style and Label.

Yoshiro_Fujimori_3-1683500614280.png

 

Reporting tools have many configuration and you need to be familiar with them.

I would recommend you check

 

Good luck.

ArnaldoSandoval
12 - Quasar

Hi @va 

 

You need to implement the Spatial Tools which are a set of tools under the Spatial category in your Designer; The link takes you to the Alteryx Academy Interactive videos

Geo-01.png

One of them is the Spatial Analytics, which strongly suggest you to watch.

Geo-02.png

Now, from the Spatial Analytics lessons, I downloaded the file "US_states_capitals.yxdb" containing the Spatial Objects required by the solution; I had to add the State_Name to your Excel file in order to join the two source tables; Also, the Number field you provided was too small (I did not played long enough) so I scaled it up by 5 times in the New_Number field.

Geo-03.png

The Broweser render the map.

Geo-04.png

 

Obviously, we are making the call "Houston we got a problem" because Texas barely shows something meaningfull 🤣

 

Hope this helps,

Arnaldo

 

Labels
Top Solution Authors