Chapter 8. Chart Them Up

In this chapter, we will cover:

  • Creating a line chart
  • Creating an area chart
  • Creating a scatterplot chart
  • Creating a bubble chart
  • Creating a bar chart

Introduction

In this chapter, we will turn our attention to one of the oldest and well-trusted companions in data visualization-charts. Charts are well-defined and well-understood graphical representation of data; the following definition expresses it in the simplest terms:

(In charts) the data is represented by symbols, such as bars in a bar chart, lines in a line chart, or slices in a pie chart.

Jensen C. & Anderson L. (1991)

When charts are used in data visualization, their well-understood graphical semantics and syntax relieve the audience of your visualization from the burden ...

Get Data Visualization with D3 4.x Cookbook - Second Edition 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.