JSFiddle - React, Tailwind, and code Playground

HTML

<table class="table table-condensed table-scrollable table-bordered">
                            <thead>
                            <tr>
                                <th>Start Index</th>
                                
                                    <th>hapax_dislegomena</th>
                                
                                    <th>hapax_legomena</th>
                                
                                <th>Suspicion Score</th>
                                

                            </tr>
                            </thead>
                            <tbody>
                            <!-- Added colouring to each atom based on confidence value(seenu.andi-rajendran)-->
                            
                                <tr class="passage_starting_at_">
                                    <td class="passage_row"> 0</td>
                                    
                                        <td class="passage_row"> 0.0741</td>
                                    
                                        <td class="passage_row"> 0.7037</td>
                                    

                                        
                                            <td class="passage_row">0.2305</td>
                                        


                                    


                                </tr>
                            
                                <tr class="passage_starting_at_">
                                    <td class="passage_row"> 264</td>
                                    
                                        <td class="passage_row"> 0.0745</td>
                                    
                                        <td class="passage_row"> 0.5745</td>
                                    

                                        
                                            <td class="passage_row">0.3740</td>
                                        


       ...