Add base code for stats visualization