I’ve been there too. Worth a visit. The bridge that exists was a contemporary iron bridge disassembled and swiped from the Dutch in Java and installed with competence by the Japanese engineers. Though a wooden bridge was built early to transport supplies. Also, the river Kwai was originally the next river over, the Thai swapped names because tourists were confused.
And…not complete fiction. There are many graves.