The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

shahbazc@gmail.com (4) [Avatar] Offline
#1
Hi,
I'm curious about the level of detail this book will provide. Will it be a guide to making charts, or will it include deeper concepts and explanation of how various libraries work?

For example, d3.behavior.zoom (and drag) seem to provide lots of 'magic.' I can't find a clear explanation of how it works, if it just moves and scales the svg or if it also also re-calculates axis, etc.

In other words, is this book a 'how to use d3' or 'how d3 is architected?'

Thanks

Message was edited by:
shahbazc@gmail.com
elijah.meeks (127) [Avatar] Offline
#2
Re: 'how to use d3' or 'how d3 is architected?'
D3.js in Action spends a significant amount of time exploring the structure and concepts that the library is based on. While it gives practical examples for deploying layouts and creating graphical elements, it tries to provide a context with regard to how D3 differentiates between components, layouts, controls and behaviors.

Specifically, zoom is explained in detail in Chapter 5 with regard to panning and then in more detail in Chapter 7, where it's used for panning and scaling with geospatial data.