builds out chart