Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Line graph animation

  • Filip Vandueren

    August 2, 2022 at 9:24 pm

    You would start with a dataset, like a .csv.

    Then to draw the line; this expression on a Path should get you started:

    w=1600;
    pts=[];
    endF=1+timeToFrames(time);
    for (i=0; i<=endF; i++) {
    data = parseFloat(footage("data.csv").dataValue([1,i]));
    pts.push([i*(w/endF),data]);
    }
    createPath(pts,[],[],false);

    That will draw a line, that gets a new datapoint every frame from column 2 of data.csv, but the total width will always be 1600 pixels.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy