Fix for data undefined error on pointPaths func

Fix for data undefined error when d.data doesn't exist