FaZeranajit's picture
create an interactive data for this data
8954cb6 verified
Raw History Blame Contribute Delete
6.6 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tertiary Tales Explorer | Interactive Data Visualization</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/3.7.1/chart.min.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<!-- Hero Section -->
<section class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-bold text-indigo-700 mb-4">Tertiary Activities Explorer</h1>
<p class="text-xl text-gray-600 max-w-3xl mx-auto">Interactive visualization of tertiary sector activities and their global impact</p>
</section>
<!-- Interactive Map -->
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
<h2 class="text-2xl font-bold text-indigo-700 mb-6">Global Tourism Hotspots</h2>
<div class="interactive-map" id="tourismMap">
<div class="map-hotspot" style="top: 30%; left: 65%;" data-location="Mediterranean"></div>
<div class="map-hotspot" style="top: 45%; left: 75%;" data-location="India"></div>
<div class="map-hotspot" style="top: 25%; left: 20%;" data-location="North America"></div>
<div class="map-hotspot" style="top: 60%; left: 50%;" data-location="Middle East"></div>
</div>
<div id="map-info" class="mt-4 text-center text-gray-600"></div>
</section>
<!-- Timeline Component -->
<custom-timeline></custom-timeline>
<!-- Members Section -->
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold text-indigo-700">Project Members</h2>
<button id="shuffle-members" class="bg-indigo-600 text-white px-4 py-2 rounded-lg hover:bg-indigo-700 transition">Shuffle</button>
</div>
<div id="members-container" class="grid grid-cols-2 md:grid-cols-4 gap-4">
<!-- Members will be inserted here by JavaScript -->
</div>
</section>
<!-- Data Visualization Section -->
<section class="grid grid-cols-1 lg:grid-cols-2 gap-8 mb-12">
<!-- Tourism Chart -->
<div class="bg-white rounded-xl shadow-md p-6">
<h3 class="text-xl font-bold text-indigo-700 mb-4">Global Tourism Impact</h3>
<canvas id="tourismChart" height="300"></canvas>
</div>
<!-- Sector Employment Chart -->
<div class="bg-white rounded-xl shadow-md p-6">
<h3 class="text-xl font-bold text-indigo-700 mb-4">Employment by Sector</h3>
<canvas id="sectorChart" height="300"></canvas>
</div>
</section>
<!-- Interactive Cards -->
<section class="mb-12">
<h2 class="text-2xl font-bold text-indigo-700 mb-6">Key Tertiary Activities</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<div class="activity-card" data-category="tourism">
<i data-feather="map" class="text-indigo-500"></i>
<h3>Tourism</h3>
<p>Explore global tourism trends and impacts</p>
</div>
<div class="activity-card" data-category="medical">
<i data-feather="heart" class="text-indigo-500"></i>
<h3>Medical Tourism</h3>
<p>Discover India's medical tourism advantages</p>
</div>
<div class="activity-card" data-category="quaternary">
<i data-feather="cpu" class="text-indigo-500"></i>
<h3>Quaternary</h3>
<p>Information and knowledge services</p>
</div>
<div class="activity-card" data-category="quinary">
<i data-feather="briefcase" class="text-indigo-500"></i>
<h3>Quinary</h3>
<p>High-level decision making and outsourcing</p>
</div>
</div>
</section>
<!-- Digital Divide Section -->
<section class="bg-white rounded-xl shadow-md p-6 mb-8">
<h2 class="text-2xl font-bold text-indigo-700 mb-6">The Digital Divide</h2>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div>
<canvas id="digitalDivideChart" height="300"></canvas>
</div>
<div>
<h3 class="text-xl font-semibold mb-4">Global ICT Development Index</h3>
<p class="mb-4">Development emerging from information and communication technology is unevenly spread across the globe, with metropolitan cities often outpacing rural areas.</p>
<div class="bg-indigo-50 p-4 rounded-lg">
<h4 class="font-medium mb-2">Key Observations:</h4>
<ul class="list-disc pl-5 space-y-1">
<li>Developing countries face greater digital divides</li>
<li>Urban areas typically have better infrastructure</li>
<li>Access to technology impacts economic growth</li>
</ul>
</div>
</div>
</div>
</section>
<!-- Detail Panel -->
<section id="detail-panel" class="hidden bg-white rounded-xl shadow-md p-6 mb-8">
<button id="close-detail" class="float-right">
<i data-feather="x" class="text-gray-500 hover:text-gray-700"></i>
</button>
<div id="detail-content">
<!-- Content will be loaded here -->
</div>
</section>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/timeline.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>feather.replace();</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>