USA (US Army of the James, 63,797 men under Butler) attacked Confederacy (Cs Petersburg Garrisson (+), 41,499 men under Beauregard) in Virginia. The CAA Database of Battles records 41.5 hours of fighting on a front of 4 km, a frontal attack against fortified defense, and that Confederacy held. Losses: USA 8,150 (13%), Confederacy 4,752 (11%).
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.