forked from jagthedrummer/okc-budget-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbudget.html
49 lines (42 loc) · 786 Bytes
/
budget.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
<!DOCTYPE html>
<meta charset="utf-8">
<style>
html {
margin: 0;
font-family: "Helvetica";
}
.axis path,
.axis line {
fill: none;
stroke: #000;
shape-rendering: crispEdges;
}
.bar {
fill: steelblue;
}
.bar text {
color: #000000;
}
.x.axis path {
display: none;
}
div.tooltip {
position: absolute;
text-align: left;
padding: 2px;
font: 12px sans-serif;
background: #EDEDED;
border: 0px;
border-radius: 8px;
pointer-events: none;
}
</style>
<body>
<script src="https://code.jquery.com/jquery-2.1.3.min.js"></script>
<script src="http://d3js.org/d3.v3.min.js"></script>
<body>
<h2>Bar Chart</h2>
<div class="barchart"></div>
<h3>Bubble Chart</h3>
<div class="bubble"></div>
<script type="text/javascript" src="budget.js"></script>