Over a million developers have joined DZone.

TimelineJS: A JavaScript Library for Attractive Timelines

DZone's Guide to

TimelineJS: A JavaScript Library for Attractive Timelines

· Web Dev Zone ·
Free Resource

Learn how error monitoring with Sentry closes the gap between the product team and your customers. With Sentry, you can focus on what you do best: building and scaling software that makes your users’ lives better.

Timelines are extremely useful visual devices for understanding how events in history relate to each other, and for getting a sense of the "flow" of history. Reading a list of dates and events in a table is never as interesting as poring over a detailed timeline.

Unfortunately, there's not a lot of precedence for using timelines on the web. They tend to be static images or they just feel hacked together.

TimelineJS seeks to help web devs create responsive, interactive timelines--bringing the timeline into Web 2.0 and the 21st century.

With the open-source TimelineJS, you can easily put together a timeline that functions a bit like a slider, but includes interactive features. You can easily add Youtube videos, Wikipedia excerpts, blockquotes, links to other sites, Google maps, Vine videos, Flickr pictures, and even tweets (because, after all, history does happen on Twitter these days). 

Pretty cool. Here's a video tutorial to show you how easy it is:

What’s the best way to boost the efficiency of your product team and ship with confidence? Check out this ebook to learn how Sentry's real-time error monitoring helps developers stay in their workflow to fix bugs before the user even knows there’s a problem.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}