I live in a dense urban area.
I'd consider my neighborhood grocery stores to be the 5,000-10,000sqfoot places scattered around the area so no home within a three mile radius is more than a 10 minute walk to one. They survive just fine by being cheaper than Amazon Fresh and significantly more convenient than the Walmart/Costco that exist on the outskirts of the city.