simplify example even further using lineChart

thanks @ramnathv