Live data from Hacker News

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

migrationsmap.net

51–60 of 67 posts

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

#51
post #36

Earlier quoted context omitted.

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.

Ok, it's a problem with the geolocation of Saint Helena, I will fix that.

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

#52
post #14
post #8

Earlier quoted context omitted.

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 drawing the arrowhead on the middle of the line? (And not drawing it on short lines. The arrowheads on the long lines will reveal whether 'departures' or 'arrivals' are depicted)

This. And if possible, add a subtle gradient on each curve. So, even without arrows on short lines the direction is clear. Plus it looks cool.

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

#54

Really Responsive too and it all works in Opera or seemed to anyway, so many developers forget about Opera because it doesn't have the same amount of marketing as the others. But anyway Sweet Build!

"many developers forget about Opera because it doesn't have the same amount of marketing as the others."

Um, no. Many developers forget about Opera Mobile/Desktop because nobody uses it. Many developers forget about Opera Mini because it's worse to develop for than IE6.

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

#55

Really Responsive too and it all works in Opera or seemed to anyway, so many developers forget about Opera because it doesn't have the same amount of marketing as the others. But anyway Sweet Build!

"many developers forget about Opera because it doesn't have the same amount of marketing as the others." Um, no. Many developers forget about Opera Mobile/Desktop because nobody uses it. Many developers forget about Opera Mini because it's worse to develop for than IE6.

So I'm not using Opera right now then? Thanks for clearing that up for me.

Perhaps you should consider that even a few percentage point share of the browser market still translates to millions of users. About 50 million on Opera Desktop to be more precise.

If you don't care about them I guess you certainly don't care about the few people using screen readers; or how about Safari which has only roughly double Opera's measly market share?

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

#56

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...

No, you need to have units on your data. Without units, numbers mean nothing. You select a country, and then you're presented with a list of other countries and some numbers. It's not clear that these are lifetime immigrants or permanent residents. There should be a title on the country info box "Total lifetime immigrants" or "Total lifetime emigrants", and ideally a legend at the bottom defining what that means.

It's also confusing in that the number format follows a European convention of using decimal points rather than commas in between every three digits the numbers, though I can accept that localising your site isn't a big concern.

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

#58

It's understandable that several places don't have data (NaN), but I found it curious that Burma/Myanmar is missing from the map [1], much like the "Poland Sea" in a Microsoft Date/Time screen from yesteryear [2]. Did you create this map data or get it from somewhere else? Is this some kind of joke? [1] http://i.imgur.com/m8Wce.png [2] https://blogs.msdn.com/b/oldnewthing/archive/2006/10/27/8804...

No, it's just a bug. I have been using two sets of data where the name of the countries were not perfectly matching (example: United States VS United States of America). I fixed most of the inconsistencies and showed the map to some people to help me spot the problems. This one slipped through (as the geocoding of Serbia and some NaN).

Puerto Rican per-capita income is NaN, by the way.

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

#59
Some data seems strange to me. Why would 123k mexicans go to pakistan? Or 30k mexicans go to Congo? http://migrationsmap.net/#/MEX/departures

and I understand this is lifetime, but still those two destinations seem unlikely to me.

fascinating map nonetheless.

Post reply on HN