How much data?
Your phone needs to support eSIM and be carrier-unlocked.
Mobile data in Japan
You'll be on NTT docomo and Rakuten Mobile. NTT docomo is Japan's largest network and covers the cities, the countryside and the main rail lines well, so maps keep working between Tokyo, Kyoto and beyond.
A lot of visitors rent a pocket Wi-Fi router at the airport. An eSIM does the same job without the pickup, the return, or a second device to charge. Hotspot is allowed if someone in your group needs data too.
Train directions, translation apps and restaurant bookings all lean on data, so most people use more in Japan than they expect. 5 GB suits a week of maps and messaging; take 10 GB or more if you post photos and video.
The eSIM is data only. Your US number stays on your phone: leave that line switched on and texts like bank codes still reach you, though your carrier may charge for calls and texts abroad. Calling apps work over the eSIM's data at no extra cost.