O'Reilly logo

Developing a D3.js Edge by Chris Viau, Andrew Thornton, Ger Hobbelt, Roland Dunn

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

11. Integrating Crossfilter

  • Use Crossfilter to filter our stop metric data
  • Create aggregate statistics on these filtered locations

 The source code and data files are available in the code/Chapter11/ directory tree.

Now that we have our brushing setup for our maps and it returns an array that can be accepted by the filterLocation filter we defined earlier, we can easily integrate the two so that brushing over the map will filter our stop metric data. We can do this simply by passing in the extents of our brush, obtained by brush.extent(), into ...

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