adjust tooltip text getters; use 'datum' everywhere instead of 'd' when not a proper D3 selection to avoid confusion