Book Image

Mastering D3.js

By : Pablo Navarro Castillo, Pablo Navarro Castillo
Book Image

Mastering D3.js

By: Pablo Navarro Castillo, Pablo Navarro Castillo

Overview of this book

Table of Contents (19 chapters)
Mastering D3.js
About the Author
About the Reviewers


In this chapter, we learned how to handle the lack of SVG support in older browsers. We learned how to create visualizations using only the div elements and how to detect the availability of SVG support. We also discussed how to use polyfills to provide the missing functionality. In particular, we created an example of rendering SVG with canvas using the canvg library.

In the next chapter, we will create a color picker based on the Lab color model. We will learn how to use the drag behavior and use it to create a reusable slider element. Also, we will use the slider to create the color picker.