Making an heatmap using Google Maps API.

in #visualization6 years ago

Heat maps are a great way to visualize the density of an observed phenomenon. A heat map shows with a red color the maximum density of the data while with a yellow and green color a decreasing density of the data.

For example the density of Twitter users - or any other social network like Instagram or Flickr- that have been tweeting in a certain moment and at a certain place.

In particular, the heat maps are described at the following link https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap

Have been using it with location data from the three social networks i.e. Twitter, Flickr and Instagram. Aproximately a million data points have been used for each of the heat maps presented below and here are the results.

Heat map from Twitter users data.

Schermata 2018-04-22 alle 14.09.27.png

Heat map from Flickr users data.

Schermata 2018-04-22 alle 14.11.37.png

Heat map from Instagram users data.

Schermata 2018-04-22 alle 14.12.41.png

Another interesting visualization would be to make a dynamic heat map which shows how each of those maps evolves during the 24 h of the day. I will post that in the next post so stay tuned ;-)

Sort:  

Good knowledgeable post ..like this one..

Thanks :-)

Upvote for the effort keep it up! :D

Thanks :-) Here you go !

Coin Marketplace

STEEM 0.16
TRX 0.15
JST 0.028
BTC 58786.64
ETH 2309.42
USDT 1.00
SBD 2.49