RR: added transitions including plot labels.
fixed some issues with respect to a D3.js bug.