     {% endfor %}
                                                        </div>
                                                    </div>
                                                    
                                                    <!-- Table View (hidden by default) -->
                                                    <div class="metrics-table-view d-none mb-4">
                                                        <div class="table-responsive">
                                           