Win a copy of Raising Young Coders: A Parent’s Guide to Teaching Programming at Home this week in the General Computing forum!
Forums Login/signup

(Time) Bar Graphing

+Pie Number of slices to send: Send
Hello

I need to present some numbers in the company where I work, and a video in question caught my attention by the way these numbers are approached, follow the video link: https://www.youtube.com/watch?v=a3w8I8boc_I

I don't know much about Java and programming in general, so please kindly don't swear at me so much, lol, but finally, they informed me that it was some software, but other people said it was JavaScript, so I would like the opinion of you, is it Java or not? Through Java, can I do the same as video or simulate?

Thanks !
+Pie Number of slices to send: Send
I merged your stuff with the following thread. I hope that is okay by you.
+Pie Number of slices to send: Send
Welcome to the Ranch

You cannot tell by watching the animation what program was used to produce it. It is however most unlikely to be programmed in Java® because few browsers support Java® in the 2nd decade of this century. It is of course possible to guess the techniques probably used to program the display:-
  • 1: A link to a database with all the numbers in.
  • 2: Some means of making the display and the numbers change with time. A java.desktop/javax.swing.Timer would work; you might set it to “fire” once every 25ms (40× per second) or maybe a little faster to give a nice smooth display.
  • 3: Some way to make bars of different lengths depending on the numbers you are displaying.
  • 4: Sorting the numbers so the largest bar is on top. (That probably means sorting the numbers backwards, which is hardly more difficult than sorting the numbers the normal way.)
  • Although none of those tasks is particularly difficult on its own, and you can design a Swing® desktop app to display all your figures, you should consider how long it would take you to learn the techniques and whether you have the time available for that exercise. You would probably learn lots of programming if you create a good program to show such an animated display.
    It is also possible to use a presentation/PDF creator program to create an animated PDF; you can even specify the time it takes for the bars to move. But you might have to define the bars and their movement by hand.
    +Pie Number of slices to send: Send
    1. As Campbell said, there's really no indication what programming language was used to produce that kind of display. It could have been either Java or JavaScript, a combination, or something else altogether.

    2. If you have never programmed before, doing something like that is going to be quite the challenge for you, not unlike an inactive, non-athletic person thinking of running the Boston Marathon next month. That would be a pretty good challenge for any experienced programmer. It's quite a piece of work shown in that video. Lots of technical challenges, not the least of which was to get that kind of visualization effect.
    +Pie Number of slices to send: Send
    @OP

    I'd say use Microsoft Word or Powerpoint, they should have some charts templates. When I was in a secondary school I'm sure they had. So using those should be fairly easy to create something similar. Just wouldn't be animated perhaps.
    +Pie Number of slices to send: Send
    I am pretty sure you can animate that sort of template. You can set up a transition from a bar representing 100,000 to one representing 115,000 whereby the bar gets 15% longer and moves up one level over the course of maybe 0.8″. I have used the OpenOffice/LibreOffice counterpart (??Impress??) to do that.
    +Pie Number of slices to send: Send
    Also keep the possibility that perhaps the video creator has not used any bar graphing tool at all This could be well made as a standalone animation using tweens for the intermediate steps.
    In the past, Adobe Flash could make such animations. I dont know what's the current buzz in the market. If browsers are your prime platform, then you can look into javascript libraries that achieve such effects.

    As a side note, that video is nearly 10 minutes long. If you are presenting this as a visualization, keep your audience in mind. If you want them to see your presentation offline, then spending time into making something like this makes sense. However, if you are giving a live presentation with some talking points, you'll find it very difficult to keep up with an on-going video.
    +Pie Number of slices to send: Send
     

    salvin francis wrote:. . . difficult to keep up with an on-going video.

    It is possible; I have done it, but with much simpler things (representations of parsers) and I had to be very careful about the timings.`

    reply
    reply
    This thread has been viewed 717 times.
    Similar Threads
    Is Oracle closed for vacation?
    How to implement the JavaFX feature as shown in the fig?
    What is Java Swing good for?
    Cool Chameleon
    Very dumb question..back to basics...
    Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    More...

    All times above are in ranch (not your local) time.
    The current ranch time is
    Jun 27, 2025 04:52:40.