i want to make years slider with html css and js

slider example

I want to create a horizontal timeline slider, similar to the one in the image below, where each year is clickable and linked to specific content. The part I’m struggling with is how to link the slider with specific dates (e.g., 2011, 2012, 2013) and display corresponding content when each date is clicked.

I already know how to create the styled box for the content section, but I’m unsure how to implement the timeline and link each date to specific content using jQuery or a plugin.

Here is an example of what I want to achieve:

Could someone recommend a jQuery plugin or suggest an approach to create a timeline like this?