Display metrics data row at a time with JS