JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#" id="button">View 100 (out of 500)</a>

<div id="barGraph-container">
    <div id='barGraph'></div>
</div>

CSS

#barGraph-container {
    height: 200px;
    position: relative;
}
#barGraph {
    height: 0;
    width: 50px;
    background-color: #000;
    position: absolute;
    bottom: 0;
}

JavaScript

$('#button').click(function(){
    $('#barGraph').animate({height:'72px'}, { queue: false, duration: 2000 });
$('#barGraph').animate({bottom:'-20px'}, { queue: false, duration: 5000 });
});