Skip to content

Commit ca27bf7

Browse files
authored
updated urls for geography data
updated urls for geography data which are now pointing to rawgit.
1 parent 92e9672 commit ca27bf7

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

usa.html

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<body>
55
<script src="http://d3js.org/d3.v3.min.js"></script>
66
<script src="http://d3js.org/topojson.v1.min.js"></script>
7-
<script src="/data/geography-data/datamaps.none.js"></script>
7+
<script src="https://rawgit.com/Anujarya300/bubble_maps/master/data/geography-data/datamaps.none.js"></script>
88
<div id="usa" style="height: 600px; width: 900px;"></div>
99
<script>
1010
var bubble_map = new Datamap({
@@ -15,7 +15,7 @@
1515
highlightOnHover: true,
1616
borderColor: '#444',
1717
borderWidth: 0.5,
18-
dataUrl: './data/geography-data/usa.topo.json'
18+
dataUrl: 'https://rawgit.com/Anujarya300/bubble_maps/master/data/geography-data/usa.topo.json'
1919
//dataJson: topoJsonData
2020
},
2121
fills: {
@@ -34,7 +34,7 @@
3434
{
3535
"centered":"NY",
3636
"city": "New York",
37-
"radius": 30,
37+
"radius": 25,
3838
"fillKey": "MEDIUM"
3939
},
4040
{
@@ -46,7 +46,7 @@
4646
{
4747
"centered":"AK",
4848
"city": "Alaska",
49-
"radius": 43,
49+
"radius": 30,
5050
"fillKey": "MEDIUM"
5151
},
5252
{
@@ -58,19 +58,19 @@
5858
{
5959
"centered":"MD",
6060
"city": "Maryland",
61-
"radius": 56,
61+
"radius": 39,
6262
"fillKey": "MAJOR"
6363
},
6464
{
6565
"centered":"OK",
6666
"city": "Oklahoma",
67-
"radius": 40,
67+
"radius": 30,
6868
"fillKey": "MEDIUM"
6969
},
7070
{
7171
"centered":"PA",
7272
"city": "Pennsylvania",
73-
"radius": 25,
73+
"radius": 15,
7474
"fillKey": "MONOR"
7575
},
7676
{
@@ -82,7 +82,7 @@
8282
{
8383
"centered":"TN",
8484
"city": "Tennessee",
85-
"radius": 64,
85+
"radius": 44,
8686
"fillKey": "MAJOR"
8787
},
8888
{
@@ -94,7 +94,7 @@
9494
{
9595
"centered":"VT",
9696
"city": "Vermont",
97-
"radius": 42,
97+
"radius": 32,
9898
"fillKey": "MEDIUM"
9999
},
100100
{
@@ -106,7 +106,7 @@
106106
{
107107
"centered":"WI",
108108
"city": "Wisconsin",
109-
"radius": 24,
109+
"radius": 40,
110110
"fillKey": "MINOR"
111111
},
112112
{
@@ -134,4 +134,4 @@
134134
</script>
135135
</body>
136136

137-
</html>
137+
</html>

0 commit comments

Comments
 (0)