added nvd3 compatibility