Hot weather of the kind sweeping the eastern U.S. drives up electricity demand for data centers, adding to their strain on power grids and worsening air quality for surrounding areas.