USA (US Army of the Potomac, 90,000 men under Grant) attacked Confederacy (Cs Army of Northern Virginia, 50,000 men under Lee) in Virginia. The CAA Database of Battles records 240 hours of fighting on a front of 5.2 km, a frontal attack, double envelopment against hasty defense and prepared defense, and that Confederacy held. Losses: USA 18,399 (20%), Confederacy 10,000 (20%).
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.