File size: 2,508 Bytes
19a4240
 
 
77d2e64
 
 
 
 
 
19a4240
 
77d2e64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19a4240
77d2e64
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
19a4240
77d2e64
 
 
 
 
19a4240
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>AI-Powered Chat-Driven Data Dashboards</title>
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
</head>
<body>
    <!-- Navigation -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
        <a class="navbar-brand" href="#">DataDash</a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navbarNav">
            <ul class="navbar-nav ml-auto">
                <li class="nav-item active">
                    <a class="nav-link" href="#">Home</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">Features</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link" href="#">Contact</a>
                </li>
            </ul>
        </div>
    </nav>

    <!-- Hero Section -->
    <header class="hero bg-primary text-white text-center py-5">
        <h1>AI-Powered Chat-Driven Data Dashboards</h1>
        <p>Turn charts into conversations!</p>
    </header>

    <!-- Chat Section -->
    <section id="chat" class="py-5">
        <div class="container">
            <h2 class="text-center">Chat with our AI</h2>
            <div class="chat-box border rounded p-3">
                <div id="messages" class="mb-3" style="height: 300px; overflow-y: auto;"></div>
                <input type="text" id="userInput" class="form-control" placeholder="Ask me anything about data...">
                <button id="sendBtn" class="btn btn-success mt-2">Send</button>
            </div>
            <canvas id="chart" class="mt-5" style="display:none;"></canvas>
        </div>
    </section>

    <!-- Bootstrap & jQuery JS -->
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</body>
</html>