Hello everyone,
I'm trying to make a stacked bar-chart where the user can scroll along the x-axis and zoom in and out along the x-axis.
I've been having a bit of trouble figuring out how to add the scrolling functionality to the 2nd example, because they use different versions of d3, and apparently d3.event.translate() no longer exists.
Does anyone know of how to scroll and zoom with the new version of d3, or generally how to approach this problem?
Thanks a ton!
- Erik