The almost pop interactive map of this calendar week has to hold upwards the New York Times' How Connected Is Your Community to Everywhere Else inwards America?. The NYT interactive map visualizes the connections people convey on Facebook too comes to the determination that nosotros are much to a greater extent than probable to know people who alive close us than those who alive a long way away.
I know! You're shocked, right?
The determination that nosotros are to a greater extent than probable to hold upwards connected to people on Facebook who alive closer to us than all the people nosotros don't know who alive on the other side of the province is non just footing shattering. The popularity of the NYT map may convey something to exercise alongside the fact that it shows that fifty-fifty inwards these days of the cyberspace too virtual online communities distance yet matters inwards our social relationships. However the success of this visualization may equally good hold upwards partly due to its simplicity too speed. In other words it is a really effective visualization of the underlying data.
Hover over a county on the NYT map too you lot tin straightaway encounter a choropleth persuasion showing the likelihood of people inwards other US counties beingness connected on Facebook to whatever of the selected county's residents. The speed of the map is specially impressive. If you lot motion your mouse roughly the map you lot tin instantly encounter how this unopen zone of friendship on Facebook plays out across the United States.
I believe that the viral popularity of the NYT map is partly downwards to its speed. This speed of interaction agency that the map is both a groovy interactive information visualization too equally good fun to play with.
So how tin you lot brand a similar map?
Benjamin Td asked himself the same inquiry too ready out to exercise the same map using Mapbox GL. You tin persuasion Benjamin's resulting Friendship Map here. The Friendship Map shows just the same Facebook friendship likelihood information equally the NYT map. It equally good allows you lot to hover over a county too instantly persuasion the friendship likelihood inwards every other US county. Benjamin's map similar the NYT map is equally good lightning quick.
If you lot desire to know how Benjamin's map industrial plant too thus you lot tin await at the map's source code. This shows you lot that the information for the map is loaded via a GeoJSON file. The map uses Mapbox's Feature State API to dynamically mode every county based on this information every fourth dimension the user hovers over a county on the map. The map is able to mode the counties thus chop-chop because Feature State updates the province of each characteristic at run-time without having to re-parse the underlying geometry too data.
This in all probability sounds a lot to a greater extent than complicated than it is. Luckily Mapbox has simply published an slow to follow tutorial Live Electoral Maps: Influenza A virus subtype H5N1 Guide to Feature State. Follow Mapbox's tutorial too you lot volition chop-chop hold upwards up to speed alongside creating lightning fast maps simply similar the NYT's Facebook friendship map.
However - I can't guarantee that your map volition teach viral.
Buat lebih berguna, kongsi: