USA (US Army of the Potomac, 101,895 men under Grant) attacked Confederacy (Cs Army of Northern Virginia, 61,025 men under Lee) in Virginia. The CAA Database of Battles records 27.8 hours of fighting on a front of 8.4 km, a frontal attack, single envelopment, right flank against hasty defense, and that Confederacy held. Losses: USA 17,666 (17%), Confederacy 7,750 (13%).
This plan is generated from those figures. It shows the shape of the battle the database describes: the size and width of the armies, the plan of attack and the outcome. It does not show where the units actually stood.