work through various nvd3 tests;sure these will need to be significantly refined