Click here to see the SAS code.
Click here to see the example.
---------------------------------------------------------------
The data comes from here:
WHO data
And I'm imitating the following map:
WHO map
I read the data directly from the above webpage, and then parse the country names
and the 'cases' and 'deaths' from the html text.
I plot the data on the map using "annotate".
I get the positions of the center of each country by using the %centroid macro
(and I subset the map to only use the first/main 'segment' to get the centroid of
just that, rather than the centroid of all the segments, such as including Alaska
and Hawaii for the US.)
Back to Samples Index