completed the linear visualization