Skip to Main Content
Data Visualization with D3 and AngularJS
book

Data Visualization with D3 and AngularJS

by Christoph Körner
April 2015
Intermediate to advanced content levelIntermediate to advanced
278 pages
5h 38m
English
Packt Publishing
Content preview from Data Visualization with D3 and AngularJS

Chapter 9. Building a Real-time Visualization to Monitor Server Logs

In previous chapters, you learned different ways to load, process, and visualize data in the browser. In this chapter, we want to use all this knowledge to build an application that lets us monitor and visualize server logs in real time. If we think about a typical client-server approach, our application is divided into two parts: a web server that monitors log files and a client that interprets and visualizes these logs.

In the first section of this chapter, we will set up a Node.js server with the Express framework and use the built-in file system tools to monitor log files. We will propagate file changes in real time to the client with the use of a bidirectional WebSocket connection; ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

D3.js: Cutting-edge Data Visualization

D3.js: Cutting-edge Data Visualization

Ændrew H. Rininsland, Michael Heydt, Pablo Navarro Castillo
D3.js 4.x Data Visualization - Third Edition

D3.js 4.x Data Visualization - Third Edition

Aendrew Rininsland, Swizec Teller
Intermediate D3.js

Intermediate D3.js

Scott Murray

Publisher Resources

ISBN: 9781784398484Supplemental Content