implement Ability\Legendable for D3