R is free & open source, and widely used for stats, data manipulation, analysis and plots. You can get geographical boundary data from GADM in RData format, and use R packages such as sp to produce charts easily.
Or at least, as easily as you can do anything in R. I hesitate to suggest it to people who already do data work in Python (it’s less … clean) but in this sort of domain it can do many things easily that are much harder or less commonly done in Python. My impression is the really whizzy, clever stats/graphics stuff is still all about R. (See e.g. this geographic example.) There are many tutorials, some of them very good in parts, but it’s famously slippery to get to grips with.
More on spatial data in R. You can also get a long way with the maps and mapdata packages.
For a fully-capable sophisticated AGI, the question is surely trivial and admits of many, many possible answers.
One obvious class of routes is to simply con the resources it wants out of people. Determined and skilled human attackers can obtain substantial resources illegitimately—through social engineering, fraud, directed hacking attack, and so on. If you grant the premise of an AI that is smarter than humans, the AI will be able to deceive humans much more successfully than the best humans at the job. Think Frank Abagnale crossed with Kevin Mitnick, only better, on top of a massive data-mining exercise.
(I have numerous concrete ideas about how this might be done, but I think it’s unwise to discuss the specifics because those would also be attack scenarios for terrorists, and posting about such topics is likely—or ought to be likely—to attract the attention of those charged with preventing such attacks. I don’t want to distract them from their job, and I particularly don’t want to come to their attention.)