Group Abstract Group Abstract

Message Boards Message Boards

Plot regional data from by-country indicators?

Posted 8 years ago

Hi,

I have a csv containing columns for countries, indicator name (e.g. population, fertility), and several columns for values on different years, such as a column for 1960, another for 1961, etc.

How do I create a listplot for regional data (grouping countries) taking the indicator of each country, calculculating a weighted average by population.

Below the example

Any help would be highly appreciated as my table is huge and have to create dozens of similar charts.

s = Import[
   "C:\\Users\\Jesus Enrique\\Documents\\Wolfram \
Desktop\\Sample1.csv"];
Attachments:
POSTED BY: Enrique Vargas
3 Replies
POSTED BY: Henrik Schachner
Posted 8 years ago
POSTED BY: Sean Cheren
Posted 8 years ago

Hi, done, file attached.

POSTED BY: Enrique Vargas
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard