It's impossible to neglect the efficiency here. Car-scale combustion engines have a real world efficiency of around ten percent compared to electric. A gallon of E10 contains 34.9 kWh and randomly picking a Toyota Avalon you'll get a real world 17 mpg with that[1], which works out to 16.4 mpge.
Compare that to real world measurements of a Tesla Model 3, a car that is MUCH more powerful and heavier, but gets 147.4 mpge[2]. The Avalon gets 11% as many miles per unit of energy stored. E10 is equivalent to 1.32 kWh/kg (4.8 MJ/kg).
Not to mention that graph of battery energy density is significantly out of date. Normal li-ion, is at 300 Wh/kg (1.1 MJ/kg) and li-sulfur is commercially available at 500 Wh/kg[3] (1.8 MJ/kg). Even Tesla's batteries are above 250 Wh/kg.
So the bottom line is the difference is ~5x right now. Is that enough to matter? 15.5 gallons of gas (standard fuel tank) weighs 44 kg, or 2.7% the total weight of the Avalon. The full capacity in batteries at 250 Wh/kg would weigh 232.32 kg, or 11.4% more. As much as 2 people + luggage. That's a totally irrelevant increase in weight; luxury or performance cars in a given class can weigh DOUBLE the lightest cars in the same class.
The energy density of batteries is a red herring for all vehicles except cargo/tanker ships and long-distance airplanes. It's completely irrelevant for vehicles. The charging speed is arguably minorly important but by FAR the most important things are the upfront and lifetime cost. That is related to energy density... the energy density of the power plant's fuel, not the battery. And again, it's incredibly naive to assume the weight is the major factor in cost.
[1]: https://www.fueleconomy.gov/mpg/MPG.do?action=mpgData&vehicl...
[2]: https://www.fueleconomy.gov/mpg/MPG.do?action=mpgData&vehicl...