O'Reilly logo

D3.js in Action, Second Edition: Data visualization with JavaScript by Elijah Meeks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Mixed mode rendering

This chapter covers

  • Using built-in canvas rendering for D3 shapes
  • Creating large random datasets of multiple types
  • Using canvas drawing in conjunction with SVG to draw large datasets
  • Optimizing geospatial, network, and traditional dataviz
  • Working with quadtrees to enhance spatial search performance

This chapter focuses on techniques to create data visualization using canvas drawing, sometimes paired with SVG, a technique typically used for large amounts of data. Because it would be impractical to include a few large datasets, we’ll also touch on how to create large amounts of sample data to test your code with. You’ll use several layouts that you saw earlier, such as the force-directed network layout ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required