This example uses the GraphHopper Matrix API to pick a charging station for the overall fastest detour of an electric vehicle
Get an API key here and put it in the demo.js:
var defaultKey = "abc";
And open the index.html in your browser, e.g. firefox index.html