-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (57 loc) · 1.58 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>Bar Chart</title>
<script src="d3lib.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.14.0/lodash.min.js"></script>
<style>
table {
border: 1px solid black;
padding : 0.5em;
}
svg{
display:block;
margin:auto;
}
</style>
</head>
<body>
<h1 align="center">Bar Chart</h1>
<form>
<table align="center">
<tr>
<td>Region : </td>
<td>
<select id="region" required>
<option selected value="select"> Select the region... </option>
<option value="state"> State </option>
<option value="district"> District </option>
<option value="block"> Block </option>
<option value="panchayat"> Panchayat </option>
<option value="village"> Village </option>
</select>
</td>
</tr>
<tr>
<td>Region Name : </td>
<td><input type="text" id="regionName" maxlength=30 required></td>
</tr>
<tr>
<td>Start Date : </td>
<td><input type="text" id="startdate" maxlength=30 required></td>
<td>Format : dd-mm-yyyy</td>
</tr>
<tr>
<td>End Date : </td>
<td><input type="text" id="enddate" maxlength=30 required></td>
</tr>
</table>
<br/>
<div align="center">
<input type="button" value="Search" onclick="showBy()">
</div>
<p id="showing" align="center"></p>
</form>
<script src="assign1js.js"></script>
</body>
</html>