Live data from Hacker News

HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

migrationsmap.net

31–40 of 67 posts

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#31

What is this data? Is it last year's migrations? Averages? More context is needed.

I added some context through the links at the bottom of the map: you can go to http://migrationsmap.net/about.html or directly to the page where the data is coming from: http://www.migrationdrc.org/research/typesofmigration/global...

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#32
post #26

I see various migrations lacking - f.ex. Polish to Brazil, and Vietnamese to Poland. why is that?

The reason is probably because the map is only showing the top 10 for each list of countries. Vietnam is probably not in the top ten for arrivals in Poland.

You can easily verify this here: http://www.migrationdrc.org/research/typesofmigration/global...

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#33
post #4

Looks great! The population of Saint Helena is NaN and also there is something wrong with the arrows.. BTW changing #hashcode based on the country looking at would be great too.

I'm not sure that I understand well, the hascode is indeed changed base on the currently viewed country.

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#35
post #8
post #7

Nice and interesting, well done! I also like the offline caching feature. The only tiny imperfection I see it's in the lines connecting two countries, I'd like to see an arrow so I know if I'm looking at arrivals or departures. Is there a way to filter the GMO database to see only the current migration flow (say, last 5 years)?

I have tried to add arrows at some point, but it cluttered the visualization too much (especially for countries where migrations are quite local : limited to border-sharing countries). That said, there may be a solution I did not think about.

How about different colors of lines for from/to?

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#36
post #4

Looks great! The population of Saint Helena is NaN and also there is something wrong with the arrows.. BTW changing #hashcode based on the country looking at would be great too.

I'm not sure that I understand well, the hascode is indeed changed base on the currently viewed country.

I missed that, now I see!

Then check that http://migrationsmap.net/#/SHN/departures is still broken.

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#37
post #7

Nice and interesting, well done! I also like the offline caching feature. The only tiny imperfection I see it's in the lines connecting two countries, I'd like to see an arrow so I know if I'm looking at arrivals or departures. Is there a way to filter the GMO database to see only the current migration flow (say, last 5 years)?

Another imperfection to this otherwise interesting tool: it is hard if not impossible to click on small countries or islands. Good luck if you want to know who goes to Guadeloupe. Pascali Islands are hidden by the legend if I'm not mistaking. This is inherent to any "click a country on the world map" tool. A complex and not perfect way to fix it would be to allow zooming, but here I would add a drop-down with a list of countries.

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#39
People who like exploring statistics like this (as opposed to just being impressed by the nice technical implementation - which I love, btw) should take a look at GapMinder.

Eg:

http://www.gapminder.org/world/#$majorMode=chart$is;shi=t;ly...

http://www.gapminder.org/world/#http://www.gapminder.org/wor...

The Hans Rosling TED talk is fantastic too: http://www.ted.com/talks/hans_rosling_shows_the_best_stats_y...

Re: HTML5 Map of the the World Migrations using SVG, Raphael.js and offline storage

#40

Very nice. I was wondering how difficult it would be to capture a particular state of the map (say UK departures) as a PNG for embedding or generating a PDF. Could you do that on the server side?

PNG from http://site2pic.com : http://site2pic.com/pics/migrationsmap.net1910.png
Post reply on HN