As Paul said, older buildings in large cities sometimes have gas. My great-aunt rented an apartment in Montreal built in the early 1900s from the 1960s until about 12 years ago and she had a 40" Findlay gas range. The pilot for the oven hasn't been working for years, she had to light a match when she used it.
I remember she also had a very slim non-insulated electric water heater. When it failed, they needed to find another one of the same type as nothing else would fit in that spot in the bathroom. It also heated the bathroom.
Outside of big cities, most people who have gas cooktops and fireplaces use liquid propane. Gas water heaters are extremely rare and so are gas dryers.
My grandmother who lived in Montreal told me she learned to cook with gas appliances and didn't like them. The last place she owned in Florida (a 1964 mobile home on a rented space) had a coppertone Magic Chef cooktop and wall oven (and a coppertone 2 door GE fridge) and she didn't like the wall oven. That's when she told me she didn't like gas ovens. I also remember her cooktop generated heat from the pilots and she re-adjusted them so low that a slight draft from the open windows would often shut one or both off. On two occasions where I visited, I remember we closed windows when we left and a few hours later, we'd get back home and the smell indicated that a pilot had quit again... The second time it happened, I suggested that she'd readjust the pilots as she was lighting it up again. She did but barely and just the one that had shut off by itself!
My grandfather observed her doing that but didn't comment or do anything! He never really used or cared for any appliance but the dishwasher. He wouldn't allow grandma or anyone else to load it. If somebody did, he didn't speak and he just rearranged the dishes as he wanted them to be... My grandmother thought it was funny and told me that he didn't bother as much when it was time to unload it! But in their mobile home, they didn't have a dishwasher that he could care about!