Line Charts with D3
In this chapter, you are going to create a line chart with ticks and labels. You will find out how to add Scalable Vector Graphics (SVG) elements to a document, and by manipulating these elements, how you can create any kind of visualization. Such flexibility enables you to build any type of chart, building it up brick by brick.
You’ll begin by looking at how to build the basic elements of a line chart using the D3 commands introduced in the previous chapter. In particular, you’ll be analyzing the concepts of scales, domains, and ranges, which you’ll be encountering frequently. These constitute a typical aspect of ...