Plotting tweets on a map

This section discusses the visual representation of tweets using maps. Data visualizations are a nice way to provide an easy-to-digest overview of the data as a picture can provide a summary of a particular feature of a dataset.

In a small portion of tweets, we can find details about the geographic localization of the user's device in the form of geographic coordinates. While many users disable this functionality on their mobile, there is still an interesting opportunity in terms of data mining to understand how the tweets are geographically distributed.

This section introduces GeoJSON, a common data format for geographic data structures and the process of building interactive maps of our tweets.

From tweets to GeoJSON

Get Mastering Social Media Mining with Python now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.