Explaining and visualizing black-box models through counterfactual paths