Confederacy (Cs Army of Northern Virginia, 75,054 men under Lee) attacked USA (US Army of the Potomac, 83,289 men under Meade) in Pennsylvania. The CAA Database of Battles records 19 hours of fighting on a front of 5.1 km, a frontal attack, double envelopment against hasty defense, and that USA held. Losses: Confederacy 28,063 (37%), USA 23,049 (28%).
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.