File size: 1,952 Bytes
e59dc66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105

<!DOCTYPE html>
<html>
<head>
    <title>CSV Data Report</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        table {
            border-collapse: collapse;
            width: 100%;
            margin-bottom: 20px;
        }
        th, td {
            border: 1px solid #ddd;
            padding: 8px;
            text-align: right;
        }
        th {
            background-color: #f2f2f2;
        }
        .total-row {
            font-weight: bold;
            background-color: #e6e6e6;
        }
        h1 {
            color: #333;
        }
    </style>
</head>
<body>
    <h1>CSV Data Report</h1>
    
    <h2>Raw Data</h2>
    <table border="1" class="dataframe table">
  <thead>
    <tr style="text-align: right;">
      <th>Product</th>
      <th>Electronics</th>
      <th>Clothing</th>
      <th>Food</th>
      <th>Books</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>January</td>
      <td>1200</td>
      <td>800</td>
      <td>500</td>
      <td>300</td>
    </tr>
    <tr>
      <td>February</td>
      <td>950</td>
      <td>750</td>
      <td>600</td>
      <td>400</td>
    </tr>
    <tr>
      <td>March</td>
      <td>1500</td>
      <td>900</td>
      <td>550</td>
      <td>350</td>
    </tr>
    <tr>
      <td>April</td>
      <td>1100</td>
      <td>850</td>
      <td>450</td>
      <td>250</td>
    </tr>
  </tbody>
</table>
    
    <h2>Column Totals</h2>
    <table>
        <tr>
            
            <th>Electronics</th>
            
            <th>Clothing</th>
            
            <th>Food</th>
            
            <th>Books</th>
            
        </tr>
        <tr class="total-row">
            
            <td>4,750.00</td>
            
            <td>3,300.00</td>
            
            <td>2,100.00</td>
            
            <td>1,300.00</td>
            
        </tr>
    </table>
</body>
</html>