Home team advantage explained in three charts

And why the effect is slowly going away over time.