 </div>
      <div class="chart-box">
        <h2>Protocol Distribution</h2>
        <canvas id="protocolChart" width="400" height="300"></canvas>
      </div>
    </div>
    
    <h2>Latest Packets</h2>
    <ul id="packetList"></ul>
  </div>
  
  <script>
    // Initialize Charts
    const sourceIpChart = new Chart(
      document.getElementById('sourceIpChart').getContext('2d'), {
        type: 'bar',
        data: {
          labels: [],
          datasets: [{
            label: 'Packet Count',
         