TopoJSON Japan, generiert aus naturalearthdata
Statistik Teeanbau in den Präfekturen: jap. Ministerium für Landwirtschaft et al.
TopoJSON Japan, generiert aus naturalearthdata
Statistik Teeanbau in den Präfekturen: jap. Ministerium für Landwirtschaft et al.
// Lefalet shortcuts for common tile providers - is it worth adding such 1.5kb to Leaflet core? | |
L.TileLayer.Common = L.TileLayer.extend({ | |
initialize: function (options) { | |
L.TileLayer.prototype.initialize.call(this, this.url, options); | |
} | |
}); | |
(function () { | |
<script type="text/javascript"> | |
var visData; // a global | |
var apiUrl = "http://localhost/yiiRest/basic/web/index.php/event/temporal" | |
d3.json(apiUrl) | |
.header("Content-Type", "application/json") | |
.get(function(error, jsonData) { | |
visData = jsonData; | |
}); |
<script type="text/javascript"> | |
var apiUrl = "http://localhost/yiiRest/basic/web/index.php/event/temporal" | |
$.ajax({ | |
url: apiUrl, | |
dataType: 'json', | |
success: function(data){ | |
console.log(data); | |
} |
count | time_begin | |
---|---|---|
1 | 1002-01-01 | |
3 | 1004-01-01 | |
2 | 1005-01-01 | |
1 | 1006-01-01 | |
1 | 1019-01-01 | |
1 | 1019-12-01 | |
1 | 1028-01-01 | |
1 | 1029-01-01 | |
1 | 1035-01-01 |
<!doctype html> | |
<html> | |
<head> | |
<meta charset='utf-8'> | |
<title>**crossfilter*Playground**</title> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/3.3.1/lodash.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/crossfilter/1.3.11/crossfilter.min.js"></script> | |
<script src="//cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> | |
<link href="//cdnjs.cloudflare.com/ajax/libs/bootswatch/3.3.2/custom/bootstrap.min.css" rel='stylesheet'> | |
</head> |
[ Launch: web map with d3js ] c1fe3b075ed1e5d8d95b by skoslitz