99. Dynamic Bar Graphs
• Create a dynamic bar graph with customizable values
• Streamline graph production without sacrificing quality
20:00
723,394 Views
Dec 06, 2009
Tutorial Notes:
Remember Expression controls and layer names are Case Sensitive.
COMMENT NOW!


* Email will not be published
245 Responses to "Dynamic Bar Graphs"
Richard
12/19/2013
Yeah by me too Shub, I had to make a graph for something that we tested in science.
Boosted my Grade!!
Shub
08/19/2013
Andrew you so rock man!! this tutorial helped me in my project!!
Chris
06/01/2013
Great tut!!! thanks for your knowledge Andrew!
Dr Octapus
10/30/2012
THnaks! i TREALLY HELPED ALOT AND I WILL CONTINUE TO USE THIS WITH AVFSP and Maker Studios
ffuhy
10/30/2012
i don't know what to do
alex
07/27/2012
muy buenos productos
Rhanzel
06/26/2012
Ive done all of it in a diferent layout animation etc... but my numbers when animated become giant numbers like... 0% to 70% at 68... it becomes 68,854432356 ... Does anyone have the same problem? how can i fix it? to giveme only exact numbers 30, 31, 32, 33... 69,70...
Chris
06/01/2013
Sorry, disregard the back slashes in the expression I posted. They weren't there when I copied and pasted but I guess the sight generated those when I posted the comment.
Chris
06/01/2013
Same happened to me. Alex is right... watch the Futuristic HUD video and see how Andrew uses the math.floor expression. He does the expression around 19:06 in the video. It was easy to do, just follow verbatim. The expression for the text layer that was throwing out decimals now looks like this:

Math.floor(thisComp.layer("B3").effect("Bar Value")("Slider"))

Hope this helps!
Alex
01/05/2013
watch his Futuristic HUD Video. There is an expression to round to the nearest integer. I believe (Not Sure) it is "Math.floor(value)." Pickwhip the value to whatever integer is giving you a weird decimal. Your Welcome
TheFiren
07/12/2012
math.floor, math.round should help.
Nicolas
03/19/2012
what should we do with the Coin Idea?
mwanted
01/27/2012
im sure i did the steps...the bars wont go up when i "animate it up" :/ help anyone?
Chris
06/01/2013
I assume you think you followed correctly by somewhere u must have went wrong. It happened to me as well. I thought I followed correctly so I change the slider value and the bar didn't move. I backtracked and found that I did the steps in the wrong order. Hope this helps!
Robert
09/20/2012
Download the Project File and then open up the .AEP after effect file that will have everything ready..

1: Download Project File
2: Open the Project File Folder
3: Go to Dynamic Graphs
4: Open After Effect file
5: There you go !! :)
sconosciuto
12/09/2011
OK I scanned the comments and I don't see that anybody else ran into this, maybe I did something wrong... when I pasted the expression for Time Remap (with Bar Value at 100 and Percentage animated to go from 0 to 100), the animated bar graph clipped jumped to the beginning of the clip. If this happens to you, you'll see it because all of a sudden your masked area looks all funny... that's the masked area showing the beginning of the animation.

The fix was to offset the final value computed by the expression, by 40 frames (the length of the opening camera move). But wait! You don't just add 40... expressions want seconds not frames. So add 1.667 (40 frames divided by the clip's frame rate of 24):

(InputVal*Length*thisComp.frameDuration*ratio)+1.667
or
(InputVal*Length*thisComp.frameDuration*ratio)+(40/24)

hope that helps somebody that finds the same issue I had. I feel like I screwed something up because I don't see that anybody else had this problem.
Chris M. Rodriguez
10/26/2011
Andrew,

Your comedy made the tutorial that much more enjoyable - thank you!

I'm new to After Effects and I can already tell I'm going to be viewing your tutorials frequently. Well done!

Cheers!

Chris
Snipah5
10/16/2011
Please describe the expressions better
Gurpeet
07/30/2012
ooo really
Gurpeet
07/30/2012
ooo really
rodrigo
08/31/2011
Hi Andrew, I´m a big fan of your work. For some reason i cant get the percentage to work correcly. i dont no what it is i'm pretty shure i'm following all the steps correctly.
Tolosy
08/29/2011
Just great tuts my man, and U'r hilarious...thanks for the reat tuts
Mike Moon
08/03/2011
The fiscal projections look very promising in 2011... wrong. I'm from the future and that is incorrect.
Qu?c Anh
08/03/2011
It will be very cool for my next presentation. Thank you a thousand times, you da man
pervaiz iqbal
07/05/2011
plz give me a title for my MBA acouting plz
HONEY
06/07/2011
andrew you rockzzzzzzzzz man
Ed
05/26/2011
I can't tell you how many times you've saved my life over the past few days. Awesome tutorials. Thanks very much and keep them coming!
Darklord Thai
03/31/2011
By the way, if you don't have a 3D editing program you can use Blender. It's free and easy to use. Get it at www.blender.org. Avaliable for Windows, Linux and Mac. I use it, and it's really powerful. I reccomend it.
jason
03/20/2011
Well that was a good video, i take it i cant link the values to a mysql database so when the values change in the database then so does the graph! sorry am new to it all :(
Brandon
02/18/2011
lol! the project name says Giraffes. am i the only one who noticed that hahaha
raza
01/27/2011
u r awesome andrew kramer the king of motion graphics
kosby
01/23/2011
Why is it when I use the big expression, it just erases my bar 1 and max value
Plz someone help
???
01/07/2011
Hey,Andrew I come from China.And I think I'm in love with AE .You're my best teacher.
Nb Sagar
01/02/2011
hey andrew. i was wondering if you can give me some tips on how to make a intro so i can show my work to some possible clients
Thanks,

Nb sagar (nandu)
Andrew Wade
12/22/2010
You are able to do the masking a using object channels and outputting from 3dsmax as a RLA sequence file

Then you can just select which channel you would like to display and it will mask it for you. might involve a little more setting up but after that you wont need to do any masking of your 3d boxes
Felipe
12/03/2010
hahaha, "well, I don't have a dog, but if I did, it probably would have eaten the cat and also got sick"
anyway, great tutorial, and I love your site
Tom Napper
11/18/2010
This tutorial just got me out of a very tight spot with a client who wanted around 70 animated bar graphs that could be changed at very short notice... in three days. Thanks SO MUCH! haha the potential for this technique is unreal too. cheers
Dwight
10/28/2010
hey Andrew great tutorial. I encountered one issue and i was hoping i could get some guidance. When I sync the numbers to the graph some of the numbers have decimals place. Is there a workaround for that?
David
10/13/2010
Hi Man!!!!

I'm very glad because I found this amazing page to learn AE.... Thank you very much Andrew, and I wish you all the successfully with this fantastic job.
Ron N.Y.
10/01/2010
Simply, to you and your Team, Thank you.

I used this tutorial to display overtime expenditure and the conference room requested a replay of the graphics, it was hilarious, I gave them your website after the meeting !

Keep up the Great Work.
kenneth
08/22/2010
i like every tuto you send of wed tanck you
Peres Paul
07/20/2010
Hey brother,
You,re amizing man.
I have a problem abt how can i improve the quality of my video in AE.
For eg. How can i remove noise grains and e.t.c
pls I need your fever
Jos van der Zwan
07/09/2010
I like the training you give about AE, but do you have trainings for EA on mac. I'm just starting to learn this. but all your good stuff don't work in my new mac!
If i bey your stuff, will it work on my new Mac.
Edison
06/17/2010
Hi andrew!

Big fan here. Was wondering if you could do a more in depth tutorial on this as i'm sure many of your viewers really can make use of this graph making tutorial on Aftereffects.

What i meant by in depth would actually be a guide to making your own (cool looking) bars using Aftereffects or Photoshop. And also, I noticed that the exp values actually increase together with the bar animation for the 2nd Comp "Glow Bars". How is that done as well?

Thank you!
Girish
06/12/2010
Hi...

I uploaded one demo in youtube the URL is http://www.youtube.com/watch?v=vW6RZLvyklQ how can I improve this demo with the help of after effects.

If any online Tutorial is available that will be more help full for me.Please help me

Thank You
jiweiwei616
05/31/2010
also thanks from Wuxi Jiangsu China
limaomao9811
05/24/2010
thanks from china anhui
JonnyUtah
05/20/2010
WOW!! you so rock Andrew!!
Lucas
05/11/2010
Does your animation have to be exactly 100 frames for this to work, because mine looks off. The values aren't proportional to the heights of the bars. My animation is about 24 frames is why I ask. Thanks for any help
Shail
04/30/2010
hello andrew sir

You are genieous and your tutorial and very termenndous thanks,
i get a many help for you tutorials
yousef hamada
04/24/2010
All thanks and appreciation to manage the site for the tremendous efforts that bring to Mtabaehm and the audience that I expect to be their audience is all the world as a whole
Yousef Hamadeh - Gaza - Palestine
Justus
04/21/2010
awesome for school presentations:)

thanx a lot

Justus R.
Germamny
Danny
04/16/2010
Lookin good as always - Hey how did you light that scene in 3ds max? It looks glassy almost
michelle
04/16/2010
andrew u rock!!
love u..!!
Devendra Badgujar
03/31/2010
Nice tutorials... Dude.. thanks to sharing.. this..
Daniel Calonga
03/22/2010
Hi! I have replaced the expression within the "Text":
thisComp.layer("bar01").effect("BAR Value")("Slider")

by this:

g=thisComp.layer("bar01").effect("BAR Value")("Slider") * thisComp.layer("bar01").effect("Percentage")("Slider") / 100;
g.toFixed(0);

So that not only the bar is lively, but also the amount that corresponds to each bar and the results were cool!

P.D: Excuse my English, I speak Spanish and used a translator
Djowie
02/23/2010
Props 2 Andrew ;)
PIBE3357
02/05/2010
HEY ANDREW! NICE TUTO, YOU HAVE THOUGHT SUSTITULAR THEM ABOUT SPANISH. GREETINGS FROM NICARAGUA
Alan
02/04/2010
hey can anyone tell me how to .. after completing the toturail, at the end he brings back the camera movement, how does he do that? I keep trying to bring back the camera movement but i cant
goran
02/03/2010
The part of the dog eating a cat and been sick, made my day, i was very angry, i like to see your tutorials to feel better.
Emmanuel
01/29/2010
Hola soy un Argentino interesado en su paquete casi completo de casi todos los programas el precio estaria establecido en pesos no en dolares, solo es para quedarme tranquilo bueno nada espero su respuesta lo antes posible desde muy atte:
DFR (SPAV)
01/20/2010
Thanks, really great tutorial, once again! I noticed that a few people have posted interest(myself included), in the Bars that were created in 3ds Max. I realize this is an AE forum/site though, I also noticed in certain instances, AK included what he did in 3ds max. Can I ask for an addendum to this tut that explains how he got those great bars, or at leat a writeup on this blog on how he did it? I know the focus is the animation and getting the end result of controlling images and the like, but with such a cool look, you can't help us wanting to make an animation that looks just as cool. Thanks again!
Pasan
01/18/2010
Hey Andrew You are the best.Great Job Man.
Adam Stewart
01/18/2010
I taught myself AE with your help. thank you so much. I also purchased about half your product and now I have quite the income thanks to your willingness to help others. thank you all!!!
soufian
01/18/2010
Great tutorial Andrew !! great job ! and wise solution !
only it would be more usefull if it was rendered without the blue athmosphere so we can blend it to our sceans !

thanks from morocco !!!
labidi
01/18/2010
good work , thanks
Wooow
01/17/2010
Yea hes probably not the best, but for sure these are the best AE tutorials on the internet.
Adri
01/13/2010
ive tried it in combination with your sound key tutorial ... you can easily build your 3d equalizer or something like that ... nice idea :)
Kimble
01/13/2010
Andrew Kramer...sincerest thanks for the fantastic job you're doing. I'm fairly new to motion graphics and truly appreciate your clarity in all your tutorials. I appreciate your sense of humor too. Your team of professionals truly deserve a great deal of thanks for the outstanding time and effort put into your tutorials...many thanks dude!
hasang
01/11/2010
Thanks Alot you are The Great AVATAR! for Adobe AE.

Hasan Dubai
AlienMatos
01/10/2010
You Rock!!!!!!!!!!!!!!!!!!!!!!!!!

Love your tuts... im gonna learn AE with your tuts... really
Omanand Permaul
01/08/2010
great work Andrew Kramer your a Godsend ... thank you for sharing your work with the enthusiast... motion grafics community ...ur a motivational factor when were sometimes discourage...

thanks again
Greetings from Guyana South America
lanre
01/06/2010
Great tut! you awesome. learnt lot of useful things
stef
01/06/2010
it is nothing but owesome! Greeting form china
laserfisch
01/05/2010
I`m not sure what I like more - your humor or the quality of your tutorials. Greetings from Germany.
Pingu
12/30/2009
Awesome Tutorials, you are the best with after effects

Greetings from Italy^^
djfilms
12/28/2009
This tutorial is astounding for its cleverness. Somebody give Andrew a Nobel Prize, or something.....
Jonathan Lyerly
12/28/2009
Andrew - another awesome tutorial. Thanks so much for everything you do!

I thought it would be cool to animate the values under the bars too. Here is an expression that will do that. Put this expression in the Source Text for each layer. You'll need to also change "Bar 01" to "Bar 02" for the second text field, etc. It just has to match whatever you named your comp for the corresponding Bar.

AnimationCompletion=thisComp.layer("Bar 01").effect("Percentage")("Slider")/100;
x = thisComp.layer("Bar 01").effect("Bar Value")("Slider")*AnimationCompletion;
y = Math.round(x);
y
eathan28
12/25/2009
love this andrew! really helpful for the project im doin! :))
cavetajimmy
12/23/2009
MIL GRACIAS....
hichamb_15
12/22/2009
really greatfull tutorials.
i just want to tell you that if it was any possibility to translate the videos from english to french, people will come to watch videos more that they do now.However, i'm really happy to learn from your videos.
god luck
Alex
12/22/2009
GREAT!!! Very nice tutor!! from Nigeria.
Yousef
12/21/2009
Why is the project called "Giraffes 02"? :P
amrull melodic
12/21/2009
Nice Turorial....
But, if you can make a powerful twister...
Help Pleace....!!!
Video Copilot.... Is My Teacher...!!!
Thanks...
Nicollas (NRiP)
12/20/2009
hello Andrew, how are you? I am loving of the AE, everything that I learned until the start of this year was alone, but since January you have taught me very, I have 15 years and intend to be a Motion Designer, I find that I am learning with the certain person, you are of congratulations with its work.

I have a question, which the configuration of your PC?

The Friend there of low, exactly name, almost the same age that mine, that coincidence not?
Kaz
12/19/2009
the background looks really good on this but the tutorial doesnt explain how it was created.. is it possible to explain that or make some tutorials with great constructed backgrounds and walls..

cheers from Australia
Nicolas
12/19/2009
Hello my name is Nicola and I am Argentine Spanish language as you know at this moment I am using a translator but Andrew tutorials are great but my question was whether they can translate or subtitle the tutorials, that would serve him much to people with Spanish language and also increase web visits to know that I am not the only one interested in these effects is so incredible that I am only 14 years and learned a lot from this alone I need you to please think
Nicolas
12/19/2009
hello my name is Nicola and I am Argentine Spanish language as you know at this moment I am using a translator but Andrew tutorials are great but my question was whether they can translate or subtitle the tutorials, that would serve him much to people with Spanish language and also increase web visits to know that I am not the only one interested in these effects is so incredible that I am only 14 years and learned a lot from this alone I need you to please think
atte
Nicolas
arman
12/19/2009
good work man!!!
Lluc
12/19/2009
It's a fascinating tutorial, you're my teacher


From Vic,Catalonia
Lucas Kuhn
12/19/2009
You explains it so good that I'm brazilian, I didn't make a english course (learn it with lineage 2) and I understand all of your tutorials!
You're so good. Congratulations by the great tutorials and products, and I want that you make a 3ds max tutorial with reflections, materials, bitmaps, metalic effects and more. You are so good! The logo with particular is so good too! Thanks!
Greetings from Brazil!
Jamiel Banda
12/18/2009
Fantastic stuff,
VideoCopilot Mania
12/18/2009
Hey Andrew,
I have an idea. When you make the 100th tutorial, if you can make a free package with all of the projects :) It will be cool !!!
By George. Greetings From BULGARIA !
mohamed
12/17/2009
I wont to leering this program start with what ?
i need to u experience
Naeem
12/16/2009
Hi, sir this is my 1st reply in ur site i really learn alot and don some amazing work with the help of ur tutorials u r doing a great job and may God give u more power 2 do this kind of amamzing work in future..... thanks again
Terskov Alexander
12/16/2009
Awesome tutorial! Thanks! I' waiting for 100! Is 100 will be a New Year present?
VideoCopilot Mania
12/16/2009
Hey Andrew can you give us an idea for something cool for Christmas ?? Something for the family :)

Greetings from Bulgaria !!!
Rafay
12/16/2009
im expecting something special for century. WOW

But i know Andrew will come up with somthing Extraordinary. and sometimes, simplicity is extraordinary too. :p
wedfu
12/16/2009
Andrew thank you for this tutorial, it falls at the right time to record my end of year
Cepreu4
12/15/2009
I think that it would be a really good addition to make a 3D passes (bars and shadow with alpha separately from background) to skip this meaningless operations with cutting out bars from a footage.
Anthony Herrington
12/15/2009
Oooo the 100th tutorial is making me anxious!!!!

These all look so good!!!! This is a great accomplishment Andrew!!
Sameer
12/14/2009
As we just did your are the best and its was 83 bit on you and i have won it, its like a dream cames true.
best of luck.
AK,
Trevor L.
12/14/2009
hey andrew. i was wondering if you can give me some tips on how to make a intro so i can show my work to some possible clients
Thanks,
Trevor
benx
12/14/2009
im so gonna do something lyk this for skl or something...lyk a project..xD
thanx!!...


SUPERHERO TUTORIALS!!!..
there are so many ppl out there doing lyk whatever...
we need a little instruction and this site is just awesome for learning!!!..
ShoeToad
12/14/2009
And now show us how to build the expression...
Goldorachox
12/14/2009
Moustache gracias great tuto
i gonna take a drink for you from belgium
george
12/14/2009
think you Andrew very nice...I hope you will make more and more exciting things 3Dmax
Ian Leo
12/13/2009
Hi Andrew! Great tutorial thanks!!
Currently showing 100 of 245 Comments.