197

Line Chart Draw

A line draws left to right, data points pop in turn and the area below fades in

Shape & SVGEnterOn scrollNumbers & dataGSAPDrawSVG

Hannah's Motion Library
Web motion effects × AI prompts

AI prompt

A line chart entrance: faint horizontal gridlines in the background, the line draws from left to right (about 1.6 s), each data point pops up from 0 as the line passes it, and late in the draw the area under the line fades in with a gradient; finally a growth value label floats up above the end point. (GSAP: DrawSVGPlugin draws the line path; the points' stagger = draw time ÷ number of points; the area is the same path closed along the bottom, filled with a gradient fading from top to bottom; on a real site play it with ScrollTrigger when scrolled into view)

When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.

How to use it

  1. Tap “Copy AI prompt”.
  2. Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
  3. The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.

More shape & svg effects

346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts

Browse all effects →