jsoma / playfair-projects

Common repository of projects for Playfair
6 stars 32 forks source link

GDP and Population Over The World #39

Closed miaomiaorepo closed 8 years ago

miaomiaorepo commented 8 years ago

A picture about what the most popular temperature for biking in Bay area.

image

Story issue checklist

My pitch was (use the number): #26

miaomiaorepo commented 8 years ago

GDP and Population Over The World:

image

mercybenzaquen commented 8 years ago

I love both charts! I am actually not a fan of having pictures as background but this one works! I think it makes it keeps it from being boring and makes it look sporty or something. I LOVE your second chart. Your use of annotation is on point!!! I think the colors work well together and I like that you used white grids with a gray background. I don't know if this is a very smart suggestion but I would make it a bit smaller so your viewer doesn't have to scroll up and down to see the entire graph but instead look at the entire graph. Also this would help you get rid of all the white space (in this case gray) that you have in your chart and make it more easy to navigate.

miaomiaorepo commented 8 years ago

image @mercybenzaquen Thank you Mercy! Your suggestions are really useful and I've made some changes based on it!

Changes:

  1. made the graph smaller
  2. deleted the gray outlayer
  3. added the author name and source
jsoma commented 8 years ago

Annotations: The annotations are great! The only thing I'd change about them is to shift over the population/GDP so they're in line with the country names. For example, for Qatar you could right-align everything with the 'r', and for 'Seychelles' you could left-align everything to the 'S'.

Also, I'm really curious about more of the dots (the ones on the upper left, for example), but there's definitely a limit to how many annotations you should include. Are we missing China and India? Might have happened if you set ax.xlim((0,3))...

Since the population spread is so large, to make the display nicer we would probably use a logarithmic scale instead of a normal 0,1,2,3 scale - that way leaving india/china in there wouldn't squish everyone else together. You'd do that by passing df.plot(...logy=True), or instead of .plot or .scatter with matplotlib you'd use .semilogy(xvalues, yvalues...). We'll definitely talk about this in class at some point!

Axes: I would definitely add commas to the x-axis - "30,000" is a lot more readable than "30000" - along with adding $ just so people know without needing to read the label. You might also want to give a shot at getting rid of the 0, 20000, 40000 and 60000 and see how it looks. It might clear it up a bit!

Colors: The colors look great, but unfortunately they're a sequential color scale 😉 you'll want to go with something categorical to help them look more separate - give colorbrewer a shot!

Source: I'm pretty sure my original source for the data was the world bank.

Bubble size: You'll want want to note what the size of each bubble means.

jsoma commented 8 years ago

You'll also want to add the checklist in here so we can keep track of where the story is at.

radhikapc commented 8 years ago

Sherry, Your graph is amazing. few comments about font color and type (though I am not good at them!) Try other than black color and see how it's going with the entire plot. And maybe change the background color too. Maybe you can reorganize the annotation so that it would not look crowded.

miaomiaorepo commented 8 years ago

@jsoma Thanks for your detailed comments! I guess there is a bit confusing on those bubbles. I made annotations for five countries, each country is of the highest GDP per capita in each continent. For example, Luxembourg has the highest GDP per capita in Europe, Qatar for Asia, that's why China and India are not in the charts. I just wanted to highlight the top one for each continent. I also made their bubbles size bigger. So the size doesn't mean anything. What can I do to make those five countries and bubble size make sense?

miaomiaorepo commented 8 years ago

gdp and population over the world4

Changes:

  1. Add commas and $ to the x-axis
  2. Drop 0,20000,40000,60000
  3. Shift over the population/GDP
  4. Edit the source
miaomiaorepo commented 8 years ago

Moved to main body

playfairbot commented 8 years ago

Hi there, I'm the Playfair Bot! Would you mind posting the appropriate checklist in the main body of your issue? You might have posted it as the first comment, but it turns out it works way better in the actual body of the issue - just go up to the veeery top right and click the pencil icon to edit. You'll probably want to edit the comment to copy the checklist, then edit the original issue to paste it in. Thanks! :pray:

playfairbot commented 8 years ago

Hi there, I'm the Playfair Bot! Would you mind linking to your pitch issue by using the '#1' method (but with your actual pitch issue number)? It'll hopefully help us keep things neat and organized. Thanks a zillion! :pray:

jsoma commented 8 years ago

Moved the checklist to the main issue so the bot will be happy

playfairbot commented 8 years ago

Closing since pull request #135 has been accepted