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.

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
- 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.
- Paste it into your AI: Lovable, Claude, Cursor, Bolt or v0.
- 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
- Progress ringsactivity rings
- KPI cards with sparklinestat cards
- Stacked columns, toggle series from legendColunas empilhadas com legenda ligável
- Live activity feedFeed de atividade ao vivo
- Animated sales funnelconversion funnel
- Waterfall chart, from revenue to profitGráfico de cascata
- Line chart with tooltiparea chart
- Live scrolling chart, real-time chartGráfico em tempo real