Book Image

Mastering D3.js

Book Image

Mastering D3.js

Overview of this book

Table of Contents (19 chapters)
Mastering D3.js
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Summary


In this chapter, we learned how to create a reusable chart and how to add configuration methods to it so that the chart can be used in several projects without having to change its code in order to use it. We created a barcode chart and used it with data with a different format. We also learned how to create a reusable layout algorithm and how to use it to transform the data source to the format expected by a chart.

In the next chapter, we will learn how to create data visualizations in D3 for browsers without SVG support using canvas and div elements.