JSFiddle - React, Tailwind, and code Playground

by greenpeace

HTML

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.3/css/bootstrap.min.css">
<style>
  #simple_5_table td {
    text-align: right;
  }
  .colcenter{
     text-align: right;
  }
  .negrita{
    font-weight: 800;
  
  }
  .titulo p{
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
    text-align: center;
    margin: 0;
    margin-top:20px;
  }
</style>
<div class="titulo" style="position: relative; height:auto; width:100%">
  <p>
   Ganadería avícola en España, situación actual y su evolución en los últimos seis años
  </p>
</div>
<div class="table-responsive">
    <table id="simple_5_table" class="table table-striped table-sm" style="margin: 2em 0 2em 0;">
        <caption> Fuente: Sistema Integral de Trazabilidad Animal (SITRAN). Elaboración propia.
</caption>

        <thead>
            <tr class="table-warning">
                <th scope="col">Comunidades Autónomas</th>
                <th class="colcenter" scope="col">Nº de gallinas en enero de 2021</th>
                <th class="colcenter" scope="col">Porcentaje de incremento en el nº de gallinas desde 2016</th>
                <th class="colcenter" scope="col">Número de nuevas gallinas desde 2016</th>
            </tr>
        </thead>
        <tbody>
        <tr>
                <th scope="row">Galicia</th>
                <td>107.836.969</td>
                <td>37,0%</td>
                <td>29.115.853</td>
            </tr>
            
             <tr>
                <th scope="row">Castilla-La Mancha</th>
                <td>97.214.594</td>
                <td>21,8%</td>
                <td>17.395.724</td>
            </tr>
            
            <tr>
                <th scope="row">Aragón</th>
                <td>73.137.298</td>
                <td>256,9%</td>
                <td>52.645.473</td>
            </tr>
             <tr>
                <th scope="row">Castilla y León</th>
                <td>58.212.101</td>
                <td>22,0%</td>
 ...