Forked from nvd3 for Chartx