Chapter 12. Creating a Real-time Application

In this chapter, we will create a real-time application to explore the distribution of geotagged tweets containing user-defined topics. Creating this visualization will involve implementing a server-side application and a client-side application.

The server-side application will handle connections from the clients, receive topics to be heard on Twitter, and send tweets matching the topics to the corresponding clients.

The client-side application will connect with the streaming server, send it topics as the user enters the streaming server, receive tweets, and update the visualization as the tweets arrive.

We will begin this chapter by learning the basics of real-time interaction in client-side applications. ...

Get D3.js: Cutting-edge Data Visualization now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.