add demo for online data analysis