Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Mastering D3.js

You're reading from   Mastering D3.js Bring your data to life by creating and deploying complex data visualizations with D3.js

Arrow left icon
Product type Paperback
Published in Aug 2014
Publisher Packt
ISBN-13 9781783286270
Length 352 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Pablo NAVARRO CASTILLO Pablo NAVARRO CASTILLO
Author Profile Icon Pablo NAVARRO CASTILLO
Pablo NAVARRO CASTILLO
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Data Visualization FREE CHAPTER 2. Reusable Charts 3. Creating Visualizations without SVG 4. Creating a Color Picker with D3 5. Creating User Interface Elements 6. Interaction between Charts 7. Creating a Charting Package 8. Data-driven Applications 9. Creating a Dashboard 10. Creating Maps 11. Creating Advanced Maps 12. Creating a Real-time Application Index

Summary

In the last chapter of the book, we learned how to use D3 and Socket.IO to create a real-time visualization of geotagged tweets. In this chapter, we described two applications: the streaming server and the client application.

We implemented the streaming server in Node. The streaming server keeps a persistent connection to the Twitter-streaming endpoints and supports several connected users at the same time, with each user adding topics to be tracked on the Twitter-streaming API. When the tweets match one of the user topics, they are delivered to the corresponding client.

In the client application, we used Backbone, Socket.IO, and D3 to create a visualization of where the topics are defined by the user in the world. The user can add topics at any given time; the server will add the topic to its list and begin to send tweets that match the topic to the client.

Through this book, we learned how to use D3 to create several kinds of charts, but mostly, we learned how to create visual components...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image