download iExpressions at
https://aescripts.com/iexpressions/

Learn how to use the ‚Connect 2 Layers‘ iExpression to connect the anchor points of two layers with a line. This is very useful for animating charts and diagrams, for example. Since it is all based on shape layers, you can style the connecting line however you want.