implement data dots on graph