create costgraph.php

graph energy cost