This [d3.js block] d3b tries to combine the zoom and brush behaviour of d3.
Left click should change the brush (create brush, change brush size, move brush) and middle click shoule move the graph with zoom behaviour (and not change the brush). Mousewheel can be used for zooming.
See [Stack Overflow] so for question regarding the problem.