CHAPTER 26

image

Handling Live Data with D3

You have seen how to handle real-time charts with jqPlot, and in this chapter, you will implement the same example, using the D3 library. Indeed, you will create a line chart that displays the real-time values generated from a function that simulates an external source of data. The data will be generated continuously, and therefore the line chart will vary accordingly, always showing the latest situation.

In the second part of this chapter you will develop a chart that is slightly more complex. This time, you will be using an example in which the data source is a real database. First, you will implement a ...

Get Beginning JavaScript Charts: With jqPlot, d3, and Highcharts 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.