FlowingData Forums » Data Visualization

advice for some time-series data visualization

Started 2 months ago by kerimcan / 8 posts

  1. Hi, I looked for advice or example of a visualization I have in mind but couldn't find any. Below is a description. I know R.

    I have data on peacekeeping operations and civil wars since 1985. "Peacekeeping operations" (PKO) variable takes on 4 values: No operation, UN operation, non-UN operation, mixed operation. I know the value of this variable for each country and each year. I want to show, for the countries that had at least one civil war (around 40 countries), the values of the PKO variable.

    I imagine a graph where countries are on the y-axis and years are on the x-axis. Each country has a horizontal strip and the strip can each year take a different color depending on the value of the PKO variable (white if "no op", blue if "UN op", yellow if "non-UN op", green if "mixed op").

    Could you tell me the name of such graphs and do you know if I can do this in R?

    Thanks for your help.

  2. i guess a regular time series chart might work for this too.

  3. Thanks for your help. Heatmaps are what I was looking for. I found especially the second link in krees' message useful.

  4. You can also look at the concept of Marimekko charts, which are a similar concept.

  5. I guess while we're at it, a treemap/mosaic plot or whatever it's called, could work too.

  6. This might be obvious, but a heatmap works best when you impose some order to your variables. Time has a natural ordering but you might sort the 40 countries by GDP, those in NATO vs not, etc, and hopefully blocks of colors jump out and reveal information more easily. You should post your images when you are done!

  7. I second that.


Reply

You must log in to post.

About this Topic