Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by gbog on Sunday September 18, 2011 @10:41AM
(#3010284)
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....
by madewulf on Sunday September 18, 2011 @11:19AM
(#3010360)
There is a drop-down with a list of countries and the legend is draggable if you wish.
Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by madewulf on Sunday September 18, 2011 @11:27AM
(#3010384)
BTW, you can also click on the name of countries in the legend.
Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by gbog on Sunday September 18, 2011 @12:23PM
(#3010530)
Great, I overlooked that.
Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by madewulf on Sunday September 18, 2011 @05:12AM
(#3009841)
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.
Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by fbnt on Sunday September 18, 2011 @05:29AM
(#3009863)
You could over impose three dotted lines with a different color/dot-spacing to each connecting line, then set a timeout and alternate their visibility accordingly, so you can get a "dots flowing inside the line" effect. Not sure if this can work with canvas though.
Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by Luyt on Sunday September 18, 2011 @06:12AM
(#3009900)
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)
Re:HTML5 Map of the the World Migrations using SVG, Raphael....
by wetbrain on Sunday September 18, 2011 @04:17PM
(#3011146)
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.
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)?