Major James Duncan Graham (April 4, 1799 - December 28, 1865) was an American topographical engineer active with the Army Corps of Engineers in the first half of the 19th century. Gram was born in Prince William County, Virginia to a family of Scottish descent. Graham studied at West Point and entered the army as a Third Lieutenant of the Corps of Artillery in 1817. He is reported to have embodied the "highest accomplishments of the polished gentleman and distinguished scholar." During his long career with the Topographical Engineers Graham participated in many of the most important events of the 19th century, ranging from the Mexican American War and the Civil War, to surveying the Texas Boundary, producing the first scientifically accurate survey of Cape Cod, mapping the Great Lakes, and the survey of the Mason Dixon Line. Graham died in his home in Boston of sudden heart failure at 66 years of age.