render stat to html