WIP: modularizing the right-hand data panel