CHAPTER 24

image

Scatterplot and Bubble Charts with D3

In this chapter, you will learn about scatterplot charts. Whenever you have a set of data pairs [x, y] and you want to analyze their distribution in the xy plane, you will refer to this type of chart. Thus, you will see first how to make this type of chart using the D3 library. In the first example, you will begin reading a TSV (tab-separated values) file containing more than one series of data, and through them, you will see how to achieve a scatterplot.

Once the scatterplot is completed, you will see how to represent the data points using markers with particular shapes, either choosing them from ...

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.