vibran

Animated bar ranking

Also called: sortable bar chart

Horizontal bars that grow when the card scrolls into view. When you change the sort (highest, A–Z, original) or the numbers update live, each row slides to its new spot and the value counts to the new number.

Preview of Animated bar ranking running live
Copy the promptAdjust colors and speed

When to use it

Rankings of products, services, sellers, cities or top pages. Set data-vivo="nao" when the numbers are fixed and you only want click-to-sort. With data-prefixo="R$ " it works for revenue. Keep it to 8 to 10 items so the card stays compact.

How to add it to your site

  1. Copy the prompt in the gallery. It comes with the effect's name and the full code. The prompt text is written in Portuguese, and AI builders handle that fine.
  2. Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
  3. Done: the AI adds the effect to your project, just like you saw it here.

Use it in HTML

The effect is plain JavaScript, no library. Just put the data-efeito attribute on the element:

<div data-efeito="painel-barras" data-titulo="Serviços mais pedidos" data-sufixo="pedidos" data-dados='[{"rotulo":"Corte masculino","valor":184},{"rotulo":"Barba","valor":131}]'></div>

More dashboard effects

All 18 dashboard effects →