How it works
The activity ring is an SVG stroke trick. Each circle gets stroke-dasharray equal to its circumference, and stroke-dashoffset controls how much of it is visible: animating the offset from full circumference down to circumference times (1 - progress) draws the ring as if a pen ran around it. Three concentric rings with staggered radii and distinct colors start together when scrolled into view; because the outer ring's path is longer, it naturally finishes later, which gives the composition built-in depth. The center number runs on requestAnimationFrame, counting 0 up to the target in lockstep with the strokes so the digits land exactly when the rings close.
The overflow treatment is the signature detail: when a value exceeds 100%, the excess is drawn as a second, darker layer of the same hue stacked on top of the ring. The chart stays honest - it neither hides the overshoot nor breaks the 100% geometry - and one glance shows how far past the goal the day went.
How to use this prompt
Ideal for fitness, study tracking, budgets - any goal-per-day surface. Send the prompt with the number of rings and what each represents. If you want a more choreographed entrance, add one line: start the rings 150 milliseconds apart. The AI will thread transition-delay through the same stroke logic without changing the math.
Tips for better results
Use round line caps (stroke-linecap: round) - at 100% the seam closes as a clean rounded head instead of a flat chop. Keep at least two stroke-widths of gap between rings or they visually merge. The number animation duration must match the ring duration to the millisecond; a half-second drift between the two destroys the sense of completeness. In dark mode, dim the unfilled track to about 15% opacity and let the filled arc carry full saturation for instant contrast. One caution: dashoffset transitions do not always composite on older engines, so keep ring counts in the single digits per view.