I have successfully implemented a progress bar using Bootstrap.
Now, I am looking to display numerical values below the progress bar, similar to this:
https://i.sstatic.net/3QG8d.png
Is there a way to achieve this without utilizing JavaScript graphing libraries?
My main issue is figuring out how to show the numbers below the divs, without the need for color styling or manual calculation.
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="f4969b9b808780869584b4c0dac2dac6">[email protected]</a>/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<div class="container pt-4">
<div class="progress">
<div class="progress-bar" role="progressbar" style="width: 15%;">
15
</div>
<div class="progress-bar bg-success" role="progressbar" style="width: 30%;">
45
</div>
<div class="progress-bar bg-info" role="progressbar" style="width: 20%;">
65
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b8dad7d7cccbcccad9c8f88c968e968a">[email protected]</a>/dist/js/bootstrap.bundle.min.js" integrity="sha384-Fy6S3B9q64WdZWQUiU+q4/2Lc9npb8tCaSX9FK7E8HnRr0Jz8D6OP9dO5Vg3Q9ct" crossorigin="anonymous"></script>