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.