Would also note that this charger was 47¢/kwh. That’s $0.134/mile - very close to the gas calc you did
So OP is talking about spending only $4 to top up, but that’s basically the equivalent of buying a gallon of gas at this energy price. Basically you need to charge at home to get the pricing benefits over gas.
Obviously a bunch of other benefits to EVs