It's time to leave our house and tree. I know it's sad, but we'll move on to potentially more exciting things to build. You covered a lot of ground in the previous chapter. You learned how to draw with Canvas, how to animate with Canvas, and a pattern to combine the D3 life cycle with Canvas. As D3 is usually in cahoots with SVG, you also learned about a few key differences between SVG and Canvas. Understanding the advantages and limitations of either approach is key to making informed decisions about which mode of rendering to use. Here's what we will go through in this chapter:
- We'll start off with a summary of the key reasons for using either SVG or Canvas.
- We will then move on to review steps to build a flight path visualization with SVG, before building one with Canvas.
- Along the way, we will focus on measuring the performance...