Gas mileage Siri shortcut

I thought a gas mileage shortcut could be done using Datajar and Charty. Anyone done this?