gillis2020 commited on
Commit
a2fdebe
·
verified ·
1 Parent(s): 4a15c27

Create me a cool visualisation page for this data:

Browse files

Abdolah, Kader De kraai 2011 Marokko M Nee Nederlands
Abdolah, Kader Salam Europa! 2016 Marokko M Nee Nederlands
Ableman, Paul I hear voices 1958 Verenigd Koninkrijk M Ja Engels
Akbar, Kaveh Martyr! 2024 Iran M Ja Engels
Albom, Mitch Tuesdays with Morrie 1997 Verenigde staten M Ja Engels
Alcott, Louisa May Little women 1868 Verenigde staten V Ja Engels
Alcott, Louisa May Good wives 1869 Verenigde staten V Ja Engels
Alcott, Louisa May Little men 1871 Verenigde staten V Ja Engels
Allen, Gary None dare call it conspiracy 1971 Verenigde staten M Nee Engels
Allende, Isabel Het huis met de geesten 1982 Peru V Nee Nederlands
Allende, Isabel Eva Luna 1987 Peru V Nee Nederlands
Allende, Isabel Paula 1994 Peru V Nee Nederlands
Allende, Isabel Portret in Sepia 2000 Peru V Nee Nederlands
Atwood, Margaret Blind assassin 2000 Canada V Nee Nederlands
Atwood, Margaret The testaments 2019 Canada V Ja Engels
Austen, Jane Sense and sensibility 1811 Verenigd Koninkrijk V Nee Engels
Austen, Jane Pride and prejudice 1813 Verenigd Koninkrijk V Nee Engels
Austen, Jane Mansfield Park 1814 Verenigd Koninkrijk V Nee Engels
Austen, Jane Emma 1815 Verenigd Koninkrijk V Nee Engels
Austen, Jane Northanger Abbey 1817 Verenigd Koninkrijk V Nee Engels
Austen, Jane Northanger Abbey 1817 Verenigd Koninkrijk V Nee Engels
Austen, Jane Persuasion 1817 Verenigd Koninkrijk V Nee Engels
Bakker, Jan-Hendrik In stilte 2015 Nederland M Nederlands
Barberry, Muriel Elegant als een egel 2006 Marokko V Nee Nederlands
Barnes, Julian Flaubert’s parrot 1984 Verenigd Koninkrijk M Nee Engels
Barrie, JM Peter Pan 1911 Verenigd Koninkrijk M Ja Engels
Bazterrica, Agustina Tender is the flesh 2017 Argentië V Ja Engels
Beauvoir, Simone de Uitgenodigd 1943 Frankrijk V Nee Nederlands
Beauvoir, Simone de Alle mensen zijn sterfelijk 1946 Frankrijk V Nee Nederlands
Beauvoir, Simone de The second sex 1949 Frankrijk V Ja Engels
Beauvoir, Simone de A very easy death 1964 Frankrijk V Ja Engels
Begley, Louis About Schmidt 2010 Oekraïne M Nee Engels
Beijnum, Kees van Het mooie seizoen 2017 Nederland M Nee Nederlands
Bellow, Saul Herzog 1964 Canada M Nee Engels
Bernlef, J Het begin van tranen 2008 Nederland M Nee Nederlands
Bernlef, J Cellojaren 1995 Nederland M Ja Nederlands
Bernlef, J De pianoman 2008 Nederland M Ja Nederlands
Bernlef, J Onder ijsbergen 1981 Nederland M Nederlands
Bernlef, J Vallende ster 1989 Nederland M Nederlands
Bernlef, J Buiten is het maandag 2003 Nederland M Nederlands
Bernlef, J Wit geld 2012 Nederland M Nederlands
Berry, Wendell Why I am not going to buy a computer 1987 Verenigde staten M Ja Engels
Bomans, Godfried Thomas Robert spoon verhalen en schetsen 1973 Nederland M Nee Nederlands
Bordewijk, F Karakter 1938 Nederland M Ja Nederlands
Botton, Alain de Status Anxiety 2004 Zwitserland M Ja Engels
Boudier-Bakker, Ina De klop op de deur 1930 Nederland V Nee Nederlands
Boyd, WIlliam Brazzaville beach 1990 Ghana M Ja Engels
Boye, Karin Kallocain 1940 Zweden V Ja Engels
Bradbury, Roy Fahrenheit 451 1953 Verenigde staten M Ja Engels
Brijs, Stefan Zonder liefde 2019 België M Nee Nederlands
Brijs, Stefan De engelenmaker 2005 België M Ja Nederlands
Brijs, Stefan The angel maker 2005 België M Ja Engels
Brönte, Charlotte Jane Eyre 1847 Verenigd Koninkrijk V Ja Engels
Brönte, Emily Wuthering heights 1847 Verenigd Koninkrijk V Ja Engels
Brönte, Emily Wuthering heights 1847 Verenigd Koninkrijk V Ja Engels
Brouwers, Jeroen Client E. Busken 2019 Indonesië M Nee Nederlands
Brouwers, Jeroen Datumloze dagen 2007 Indonesië M Ja Nederlands
Brouwers, Jeroen Bezonken rood 1981 Indonesië M Nederlands
Bukowski, Charles Notes of a dirty old man 1969 Duitsland M Ja Engels
Bukowski, Charles Post office 1971 Duitsland M Ja Engels
Bukowski, Charles Ham on rye 1982 Duitsland M Ja Engels
Bulgakov, Mikhail The master and margarita 1967 Oekraïne M Ja Engels
Burgess, Anthony A clockwork orange 1962 Verenigd Koninkrijk M Ja Engels
Burnett, Francis The secret garden 1911 Verenigd Koninkrijk V Ja Engels
Burrin, Philippe Het ontstaan van een volkerenmoord 1989 Zwitserland M Nee Nederlands
Busquets, Milena Ook dit gaat voorbij 1996 Spanje V Nee Nederlands
Calidas, Tamsin Ik ben een eiland 2020 Verenigd Koninkrijk V Nee Nederlands
Calvin, William H Ontdekkingstocht door de hersenen 1997 Verenigde staten M Nee Nederlands
Calvino, Italo If on a winter’s night a traveler 1979 Cuba M Nee 259 Engels
Campert, Remco Eetlezen 1987 Nederland M Ja Nederlands
Campert, Remco Kus zoekt mond 2000 Nederland M Ja Nederlands
Camus, Albert De vreemdeling 1942 Algerije M Ja Nederlands
Capote, Truman Breakfast at Tiffany’s 1958 Verenigde staten M Ja Engels
Caroll, Lewis Alice’s adventures in Wonderland 1865 Verenigd Koninkrijk V Ja Engels
Cartarescu, Mircea Nostalgia 1989 Roemenië M Engels
Carver, Raymond What we talk about when we talk about love 1989 Verenigde staten M Ja Engels
Cervantes Don Quichot 1605 Spanje M Nee Engels
Chaucer, Geoffrey The canterbury tales 1392 Verenigd Koninkrijk M Nee Engels
Christie, Agatha And then there were none 1939 Verenigd Koninkrijk V Nee 250 Engels
Cicero, Marcus Tullius Pensees -60 Italië M Nee Frans
Coelho, Paulo De zahir 2005 Brazilië M Nee Nederlands
Coelho, Paulo De zahir 2005 Brazilië M Nee Nederlands
Coelho, Paulo The alchemist 1988 Brazilië M Ja Engels
Coetzee, JM The master of Petersburg 1994 Zuid-Afrika M Nee Engels
Coetzee, JM Youth 2002 Zuid-Afrika M Ja Engels
Coleridge, Samuel Taylor Well, they are gone, and here I must remain 1800 Verenigd Koninkrijk M Engels
Collins, Wilkie The woman in white 1860 Verenigd Koninkrijk M Nee Engels
Collodi, Carlo The adventures of Pinocchio 1883 Italië M Ja Engels
Cornelis, Arnold Logica van het gevoel 1988 Nederland M Nee Nederlands
Couperus, Louis De stille kracht 1900 Nederland M Nee Nederlands
Couperus, Louis Het zwevende schaakbord 1921 Nederland M Nee Nederlands
Couperus, Louis Van vagebonden en schelmen 1973 Nederland M Nee Nederlands
Couperus, Louis Metamorfose 1897 Nederland M Nederlands
Crews, Frederick The pooh complex 1963 Verenigde staten M Nee Engels
Cusk, Rachel Outline 2014 Canada V Ja Engels
Cusk, Rachel Transit 2016 Canada V Ja Engels
Dahl, Roald Oom Oswald 1979 Verenigd Koninkrijk M Nee Nederlands
Dahl, Roald Boy 1984 Verenigd Koninkrijk M Nee Engels
Dante, Alighieri Inferno 1472 Italië M Nee Engels
Defoe, Daniel Robinson Crusoe 1719 Verenigd Koninkrijk M Nee Engels
Dickens, Charles Pickwick papers 1837 Verenigd Koninkrijk M Nee Engels
Dickens, Charles Oliver twist 1838 Verenigd Koninkrijk M Nee Engels
Dickens, Charles Barnaby Rudge 1841 Verenigd Koninkrijk M Nee Engels
Dickens, Charles Hard times 1854 Verenigd Koninkrijk M Nee Engels
Dickens, Charles A tale of two cities 1859 Verenigd Koninkrijk M Nee Engels
Dickens, Charles Great expectations 1861 Verenigd Koninkrijk M Nee Engels
Dickens, Charles A christmas carol and other christmas writings 1872 Verenigd Koninkrijk M Ja Engels
Dis, Adriaan van Casablanca 1986 Nederland M Nee Nederlands
Dis, Adriaan van Indische Duinen 1994 Nederland M Nee Nederlands
Dis, Adriaan van Palmwijn 1996 Nederland M Nee Nederlands
Dis, Adriaan van De wandelaar 2009 Nederland M Ja Nederlands
Dis, Adriaan van Ik kom terug 2014 Nederland M Ja Nederlands
Dis, Adriaan van De parijsboeken 2021 Nederland M Ja Nederlands
DIs, Adriaan van Dubbelliefde 1999 Nederland M Nederlands
Ditlevsen, Tove The Umbrella 1952 Denemarken V Ja 102 Engels
Dominguez, Carlos Maria Het papieren huis 2005 Argentië M Nee Nederlands
Donoghue, Emma Kamer 2010 Ierland V Nee Nederlands
Donoghue, Emma Room 2010 Ierland V Nee Engels
Doolaard, A. den Wampie 1938 Nederland M Nederlands
Dorrestein, Renate Een hart van steen 1998 Nederland V Nederlands
Dorrestein, Renate Een hart van steen 1998 Nederland V Nederlands
Dostoevsky The Karamazov brothers 1880 Rusland M Ja 1012 Engels
Dostojevski De speler 1866 Rusland M Ja Nederlands
Doyle, Arthur Conan Sherlock Holmes 1887 Verenigd Koninkrijk M Nee 1408 Engels
Dumas, Alexandre De doode hand Frankrijk M Nederlands
Dunn, Mark Ella Minnow Pea 2001 Verenigde staten M Ja 207 Engels
Eliot, George The mill on the floss 1860 Verenigd Koninkrijk V Nee 595 Engels
Elsschot, Willem Kaas 1933 België M Ja 110 Nederlands
Faulkner, William The sound and the fury Verenigde staten M Nee 348 Engels
Faulkner, William As I lay dying 1930 Verenigde staten M Nee 208 Engels
Faulks, Sebastian War 2018 Verenigd Koninkrijk M Ja 132 Engels
Finkers, Herman Verhalen voor in het haardvuur 1987 Nederland M Nee 116 Nederlands
Fitzgerald, F Scott Tender is the night 1934 Verenigde staten M Nee 336 Engels
Fitzgerald, F Scott The beautiful and damned 1922 Verenigde staten M Ja 495 Engels
Fitzgerald, F Scott The great gatsby 1925 Verenigde staten M Ja 122 Engels
Flaubert, Gustave Madame Bovary 1856 Frankrijk M Nee Engels
Forster, Edward Howards end 1910 Verenigd Koninkrijk M Nee 352 Engels
Foucault, Michel Elementaire deeltjes 2021 Frankrijk M Ja 165 Nederlands
France, Anatole Penguin island 1908 Frankrijk M Ja 302 Engels
French, Dawn A tiny bit marvelous 2010 Verenigd Koninkrijk V Nee 399 Engels
French, Marilyn Our father 1994 Verenigde staten V Nee 600 Engels
Fry, Stephen Heroes 2018 Verenigd Koninkrijk M Ja 474 Engels
Fry, Stephen Mythos 2017 Verenigd Koninkrijk M Ja 442 Engels
Gaarder, Jostein De wereld van Sofie 1991 Noorwegen M Ja 559 Nederlands
Gaskell, Elizabeth North and South 1885 Verenigd Koninkrijk V Nee 544 Engels
Gaskell, Elizabeth Cranford 1853 Verenigd Koninkrijk V Nee 244 Engels
Giordano, Paulo De eenzaamheid van de priemgetallen 2008 Italië M Nee 318 Nederlands
Giordano, Paulo De eenzaamheid van de priemgetallen 2008 Italië M Nee 318 Nederlands
Giphart, Ronald Ik omhels je met duizend armen 2000 Nederland M Ja 319 Nederlands
Giphart, Ronald Giph 1993 Nederland M Ja 279 Nederlands
Giphart, Ronald Giph 1993 Nederland M Ja 224 Nederlands
Giphart, Ronald Ik ook van jou 1992 Nederland M Ja 182 Nederlands
Giphart, Ronald Gala 2003 Nederland M Ja 89 Nederlands
Goethe, Johann Wolfgang Faust II 1832 Duitsland M Nee 28

Files changed (2) hide show
  1. README.md +8 -5
  2. index.html +359 -18
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Bibliovista Explorer
3
- emoji: 🏢
4
- colorFrom: purple
5
- colorTo: pink
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: Bibliovista Explorer 📚✨
3
+ colorFrom: pink
4
+ colorTo: red
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://deepsite.hf.co).
index.html CHANGED
@@ -1,19 +1,360 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19
  </html>
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Bibliovista Explorer</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://unpkg.com/feather-icons"></script>
10
+ <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
11
+ <script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
12
+ <script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/anime.min.js"></script>
13
+ <script>
14
+ tailwind.config = {
15
+ theme: {
16
+ extend: {
17
+ colors: {
18
+ primary: {
19
+ 500: '#5F6F94',
20
+ 700: '#374259',
21
+ },
22
+ secondary: {
23
+ 300: '#B9C0DA',
24
+ 200: '#E8E8E8',
25
+ }
26
+ }
27
+ }
28
+ }
29
+ }
30
+ </script>
31
+ <style>
32
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
33
+ body {
34
+ font-family: 'Inter', sans-serif;
35
+ transition: all 0.3s ease;
36
+ }
37
+ .tooltip {
38
+ position: relative;
39
+ display: inline-block;
40
+ }
41
+ .tooltip .tooltiptext {
42
+ visibility: hidden;
43
+ width: 200px;
44
+ background-color: #374259;
45
+ color: #fff;
46
+ text-align: center;
47
+ border-radius: 6px;
48
+ padding: 8px;
49
+ position: absolute;
50
+ z-index: 1;
51
+ bottom: 125%;
52
+ left: 50%;
53
+ transform: translateX(-50%);
54
+ opacity: 0;
55
+ transition: opacity 0.3s;
56
+ }
57
+ .tooltip:hover .tooltiptext {
58
+ visibility: visible;
59
+ opacity: 1;
60
+ }
61
+ .dark .bg-primary-500 {
62
+ background-color: #374259;
63
+ }
64
+ .dark .text-primary-700 {
65
+ color: #B9C0DA;
66
+ }
67
+ .dark .bg-secondary-300 {
68
+ background-color: #5F6F94;
69
+ }
70
+ #vanta-bg {
71
+ position: absolute;
72
+ top: 0;
73
+ left: 0;
74
+ width: 100%;
75
+ height: 100%;
76
+ z-index: -1;
77
+ opacity: 0.2;
78
+ }
79
+ </style>
80
+ </head>
81
+ <body class="bg-gray-50 dark:bg-gray-900 transition-colors duration-300">
82
+ <div id="vanta-bg"></div>
83
+
84
+ <!-- Navigation -->
85
+ <nav class="bg-primary-500 text-white shadow-lg">
86
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
87
+ <div class="flex items-center space-x-2">
88
+ <i data-feather="book-open" class="w-6 h-6"></i>
89
+ <span class="text-xl font-bold">Bibliovista</span>
90
+ </div>
91
+ <div class="flex items-center space-x-4">
92
+ <button id="theme-toggle" class="p-2 rounded-full hover:bg-secondary-300">
93
+ <i data-feather="moon" class="w-5 h-5 hidden dark:block"></i>
94
+ <i data-feather="sun" class="w-5 h-5 block dark:hidden"></i>
95
+ </button>
96
+ <button class="bg-secondary-300 hover:bg-secondary-400 text-primary-700 px-4 py-2 rounded-lg font-medium transition">
97
+ <i data-feather="download" class="w-4 h-4 inline mr-1"></i>
98
+ Export
99
+ </button>
100
+ </div>
101
+ </div>
102
+ </nav>
103
+
104
+ <!-- Main Content -->
105
+ <div class="container mx-auto px-4 py-8">
106
+ <!-- Header -->
107
+ <div class="text-center mb-12">
108
+ <h1 class="text-4xl font-bold text-primary-700 dark:text-white mb-4">Book Collection Explorer</h1>
109
+ <p class="text-lg text-gray-600 dark:text-gray-300 max-w-2xl mx-auto">
110
+ Visualize, filter, and explore an extensive collection of books from around the world.
111
+ </p>
112
+ </div>
113
+
114
+ <!-- Filters -->
115
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-md p-6 mb-8">
116
+ <h2 class="text-xl font-semibold text-primary-700 dark:text-white mb-4 flex items-center">
117
+ <i data-feather="filter" class="w-5 h-5 mr-2"></i>
118
+ Filters
119
+ </h2>
120
+ <div class="grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4">
121
+ <div>
122
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Author</label>
123
+ <select class="w-full rounded-lg border-secondary-200 focus:ring-primary-500 focus:border-primary-500">
124
+ <option>All Authors</option>
125
+ <option>Jane Austen</option>
126
+ <option>George Orwell</option>
127
+ </select>
128
+ </div>
129
+ <div>
130
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Year</label>
131
+ <select class="w-full rounded-lg border-secondary-200 focus:ring-primary-500 focus:border-primary-500">
132
+ <option>All Years</option>
133
+ <option>1800-1850</option>
134
+ <option>1851-1900</option>
135
+ </select>
136
+ </div>
137
+ <div>
138
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Language</label>
139
+ <select class="w-full rounded-lg border-secondary-200 focus:ring-primary-500 focus:border-primary-500">
140
+ <option>All Languages</option>
141
+ <option>English</option>
142
+ <option>French</option>
143
+ <option>Dutch</option>
144
+ </select>
145
+ </div>
146
+ <div>
147
+ <label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Page Count</label>
148
+ <input type="range" min="0" max="1000" class="w-full">
149
+ </div>
150
+ </div>
151
+ </div>
152
+
153
+ <!-- Visualization Dashboard -->
154
+ <div class="grid grid-cols-1 lg:grid-cols-3 gap-8 mb-8">
155
+ <!-- Pie Chart -->
156
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-md p-6">
157
+ <h2 class="text-xl font-semibold text-primary-700 dark:text-white mb-4 flex items-center">
158
+ <i data-feather="pie-chart" class="w-5 h-5 mr-2"></i>
159
+ Genre Distribution
160
+ </h2>
161
+ <div class="h-64">
162
+ <canvas id="genreChart"></canvas>
163
+ </div>
164
+ </div>
165
+
166
+ <!-- Bar Chart -->
167
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-md p-6">
168
+ <h2 class="text-xl font-semibold text-primary-700 dark:text-white mb-4 flex items-center">
169
+ <i data-feather="bar-chart-2" class="w-5 h-5 mr-2"></i>
170
+ Country Distribution
171
+ </h2>
172
+ <div class="h-64">
173
+ <canvas id="countryChart"></canvas>
174
+ </div>
175
+ </div>
176
+
177
+ <!-- Timeline -->
178
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-md p-6">
179
+ <h2 class="text-xl font-semibold text-primary-700 dark:text-white mb-4 flex items-center">
180
+ <i data-feather="calendar" class="w-5 h-5 mr-2"></i>
181
+ Publication Timeline
182
+ </h2>
183
+ <div class="h-64">
184
+ <canvas id="timelineChart"></canvas>
185
+ </div>
186
+ </div>
187
+ </div>
188
+
189
+ <!-- Data Table -->
190
+ <div class="bg-white dark:bg-gray-800 rounded-xl shadow-md overflow-hidden">
191
+ <div class="px-6 py-4 border-b border-secondary-200 flex justify-between items-center">
192
+ <h2 class="text-xl font-semibold text-primary-700 dark:text-white flex items-center">
193
+ <i data-feather="list" class="w-5 h-5 mr-2"></i>
194
+ Book Collection
195
+ </h2>
196
+ <div class="flex items-center space-x-2">
197
+ <span class="text-sm text-gray-500 dark:text-gray-400">Showing 1-10 of 250</span>
198
+ <button class="p-2 rounded-lg hover:bg-secondary-300">
199
+ <i data-feather="chevron-left" class="w-4 h-4"></i>
200
+ </button>
201
+ <button class="p-2 rounded-lg hover:bg-secondary-300">
202
+ <i data-feather="chevron-right" class="w-4 h-4"></i>
203
+ </button>
204
+ </div>
205
+ </div>
206
+ <div class="overflow-x-auto">
207
+ <table class="min-w-full divide-y divide-secondary-200">
208
+ <thead class="bg-secondary-300">
209
+ <tr>
210
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-700 uppercase tracking-wider">Title</th>
211
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-700 uppercase tracking-wider">Author</th>
212
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-700 uppercase tracking-wider">Year</th>
213
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-700 uppercase tracking-wider">Country</th>
214
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-700 uppercase tracking-wider">Pages</th>
215
+ <th scope="col" class="px-6 py-3 text-left text-xs font-medium text-primary-700 uppercase tracking-wider">Language</th>
216
+ </tr>
217
+ </thead>
218
+ <tbody class="bg-white dark:bg-gray-800 divide-y divide-secondary-200">
219
+ <tr class="hover:bg-secondary-300 transition">
220
+ <td class="px-6 py-4 whitespace-nowrap">
221
+ <div class="flex items-center">
222
+ <div class="flex-shrink-0 h-10 w-10 bg-primary-500 rounded-lg flex items-center justify-center text-white">
223
+ <i data-feather="book" class="w-5 h-5"></i>
224
+ </div>
225
+ <div class="ml-4">
226
+ <div class="text-sm font-medium text-primary-700 dark:text-white">Pride and Prejudice</div>
227
+ <div class="text-sm text-gray-500 dark:text-gray-400">Romance</div>
228
+ </div>
229
+ </div>
230
+ </td>
231
+ <td class="px-6 py-4 whitespace-nowrap">
232
+ <div class="text-sm text-primary-700 dark:text-white">Jane Austen</div>
233
+ <div class="text-sm text-gray-500 dark:text-gray-400">Female</div>
234
+ </td>
235
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-primary-700 dark:text-white">1813</td>
236
+ <td class="px-6 py-4 whitespace-nowrap">
237
+ <span class="px-2 inline-flex text-xs leading-5 font-semibold rounded-full bg-green-100 text-green-800">
238
+ UK
239
+ </span>
240
+ </td>
241
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-primary-700 dark:text-white">279</td>
242
+ <td class="px-6 py-4 whitespace-nowrap">
243
+ <div class="flex items-center">
244
+ <span class="mr-2">🇬🇧</span>
245
+ <span class="text-sm text-primary-700 dark:text-white">English</span>
246
+ </div>
247
+ </td>
248
+ </tr>
249
+ <!-- More rows would go here -->
250
+ </tbody>
251
+ </table>
252
+ </div>
253
+ </div>
254
+ </div>
255
+
256
+ <script>
257
+ // Initialize Vanta.js globe
258
+ VANTA.GLOBE({
259
+ el: "#vanta-bg",
260
+ mouseControls: true,
261
+ touchControls: true,
262
+ gyroControls: false,
263
+ minHeight: 200.00,
264
+ minWidth: 200.00,
265
+ scale: 1.00,
266
+ scaleMobile: 1.00,
267
+ color: '#5F6F94',
268
+ backgroundColor: '#f8fafc',
269
+ size: 0.80
270
+ });
271
+
272
+ // Theme toggle
273
+ const themeToggle = document.getElementById('theme-toggle');
274
+ themeToggle.addEventListener('click', () => {
275
+ document.documentElement.classList.toggle('dark');
276
+ localStorage.setItem('darkMode', document.documentElement.classList.contains('dark'));
277
+ });
278
+
279
+ // Check for saved theme preference
280
+ if (localStorage.getItem('darkMode') === 'true') {
281
+ document.documentElement.classList.add('dark');
282
+ }
283
+
284
+ // Initialize charts
285
+ document.addEventListener('DOMContentLoaded', function() {
286
+ // Genre Pie Chart
287
+ const genreCtx = document.getElementById('genreChart').getContext('2d');
288
+ const genreChart = new Chart(genreCtx, {
289
+ type: 'pie',
290
+ data: {
291
+ labels: ['Fiction', 'Non-Fiction', 'Biography', 'Science', 'History'],
292
+ datasets: [{
293
+ data: [30, 20, 15, 20, 15],
294
+ backgroundColor: [
295
+ '#5F6F94',
296
+ '#B9C0DA',
297
+ '#374259',
298
+ '#E8E8E8',
299
+ '#A7B3C9'
300
+ ],
301
+ borderWidth: 0
302
+ }]
303
+ },
304
+ options: {
305
+ responsive: true,
306
+ maintainAspectRatio: false
307
+ }
308
+ });
309
+
310
+ // Country Bar Chart
311
+ const countryCtx = document.getElementById('countryChart').getContext('2d');
312
+ const countryChart = new Chart(countryCtx, {
313
+ type: 'bar',
314
+ data: {
315
+ labels: ['UK', 'USA', 'France', 'Germany', 'Netherlands'],
316
+ datasets: [{
317
+ label: 'Books by Country',
318
+ data: [45, 30, 20, 15, 10],
319
+ backgroundColor: '#5F6F94',
320
+ borderWidth: 0
321
+ }]
322
+ },
323
+ options: {
324
+ responsive: true,
325
+ maintainAspectRatio: false,
326
+ scales: {
327
+ y: {
328
+ beginAtZero: true
329
+ }
330
+ }
331
+ }
332
+ });
333
+
334
+ // Timeline Chart
335
+ const timelineCtx = document.getElementById('timelineChart').getContext('2d');
336
+ const timelineChart = new Chart(timelineCtx, {
337
+ type: 'line',
338
+ data: {
339
+ labels: ['1800', '1850', '1900', '1950', '2000'],
340
+ datasets: [{
341
+ label: 'Publications per Year',
342
+ data: [5, 15, 30, 40, 60],
343
+ borderColor: '#5F6F94',
344
+ backgroundColor: 'rgba(95, 111, 148, 0.1)',
345
+ fill: true,
346
+ tension: 0.4
347
+ }]
348
+ },
349
+ options: {
350
+ responsive: true,
351
+ maintainAspectRatio: false
352
+ }
353
+ });
354
+
355
+ // Initialize feather icons
356
+ feather.replace();
357
+ });
358
+ </script>
359
+ </body>
360
  </html>