-
Notifications
You must be signed in to change notification settings - Fork 1
/
chart1.html
173 lines (166 loc) · 6.12 KB
/
chart1.html
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"
/>
<meta name="description" content="" />
<meta name="author" content="" />
<title>EV Explorer | Data</title>
<link href="css/styles.css" rel="stylesheet" />
<script
src="https://use.fontawesome.com/releases/v6.3.0/js/all.js"
crossorigin="anonymous"
></script>
<script src="https://d3js.org/d3.v6.js" crossorigin="anonymous"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"
crossorigin="anonymous"
></script>
<style>
.ev-line {
fill: none;
stroke: blue;
stroke-width: 2;
}
.non-ev-line {
fill: none;
stroke: red;
stroke-width: 2;
}
.axis {
font-size: 12px;
}
</style>
</head>
<!-- ========================== BODY =============================== -->
<!-- Top Nav bar -->
<body class="sb-nav-fixed">
<nav class="sb-topnav navbar navbar-expand py-3 navbar-dark bg-success">
<!-- Navbar Brand-->
<a class="navbar-brand ps-3" href="index.html">EV Explorer</a>
<!-- Sidebar Toggle-->
<button
class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0"
id="sidebarToggle"
href="#!"
>
<i class="fas fa-bars"></i>
</button>
</nav>
<!-- Left Side bar-->
<div id="layoutSidenav">
<div id="layoutSidenav_nav">
<nav class="sb-sidenav accordion sb-sidenav-dark" id="sidenavAccordion">
<div class="sb-sidenav-menu">
<div class="nav">
<div class="sb-sidenav-menu-heading">Overview</div>
<a class="nav-link" href="page.html">
<div class="sb-nav-link-icon">
<i class="fas fa-tachometer-alt"></i>
</div>
Dashboard
</a>
<!-- Menu -->
<div class="sb-sidenav-menu-heading">Details</div>
<a class="nav-link" href="chart1.html">
<div class="sb-nav-link-icon">
<i class="fas fa-chart-area"></i>
</div>
Overview
</a>
<a class="nav-link" href="chart2.html">
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
EV Trend
</a>
<a class="nav-link" href="chart3.html">
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
Map
</a>
<a class="nav-link" href="chart4.html">
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
Electric Range
</a>
<a class="nav-link" href="chart5.html">
<div class="sb-nav-link-icon"><i class="fas fa-table"></i></div>
Dataset
</a>
</div>
</div>
</nav>
</div>
<!-- ================================================ -->
<!-- Main content -->
<!-- ================================================ -->
<div id="layoutSidenav_content">
<main>
<div class="container-fluid px-4">
<h1 class="mt-4">Overview</h1>
<div class="breadcrumb">
<p class="breadcrumb-item active">
Time Series Data from 2017 to 2023
</p>
</div>
<!-- Chart row -->
<div class="row">
<!-- =========== chart beginning ============== -->
<div class="card mb-4">
<!-- ========== EDIT CHART HERE ================== -->
<div class="card-body row">
<div class="col-xl-7">
<svg id="ev-chart"></svg>
<svg id="non-ev-chart"></svg>
</div>
<!-- end chart ==========-->
<!-- Chart Description -->
<div class="col my-2">
<div class="row">
<h4 class="max-w-xs">EV vs Non-EV population</h4>
<p>
For the past 6 years, The comparison of the overall
trend between Electric Vehicles (EV) and non-Electric
Vehicles (non-EV) showcases a noticeable divergence in
their growth patterns over the years.
</p>
<p>
The EV population displays a consistent upward
trajectory. This upward trend suggests a growing
adoption of EVs, with their usage accelerating notably
over time. The growth follows a steep curve, signaling a
swift expansion and increased acceptance of electric
vehicles during this period.
</p>
<p>
The non-EV population initially increased but showed
fluctuations over time, ultimately decreasing and
dropping below the 2017 level by 2023.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</main>
<!-- =============== END MAIN CONTENT ======================= -->
<footer class="py-4 bg-light mt-auto">
<div class="container-fluid px-4">
<div
class="d-flex align-items-center justify-content-between small"
>
<div class="text-muted">Copyright © EV Explorer 2023</div>
</div>
</div>
</footer>
</div>
</div>
<!-- ================================= -->
<script src="/js/scripts.js"></script>
<!-- ### FOR Chart change this file -->
<script src="/js/chart1.js"></script>
<!-- ================================= -->
</body>
</html>