 The pandemic accelerated a major shift in the retail industry. Traffic to stores evaporated. Online credit-card transactions soared and e-commerce sales jumped. Here, in charts, are some ways the sector has changed. 