See-Through Globe with Drop Shadow 2
This sample listens deviceorientation
event to change the angle of the view.
Try it on devices with gyroscope.
I used Floating Landmasses as a reference for the appearance.
Plot points on the see-through globe.

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!(function(d3) | |
{ | |
var constant = function(d) | |
{ | |
return function constant() | |
{ | |
return d; | |
} | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset='utf-8'> | |
<script src='//d3js.org/d3.v3.min.js'></script> | |
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.css' /> | |
<script src='https://cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js'></script> | |
<body> | |
<div style='width:960px;height:500px'></div> | |
<script> | |
var map = new L.Map(d3.select('div').node()).setView([35.678707, 139.739143], 12); | |
var tile = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', { |

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
year | A | B | C | D | E | F | G | |
---|---|---|---|---|---|---|---|---|
0 | 401 | 150 | 0 | 144 | 48 | 410 | 803 | |
1 | 419 | 299 | 90 | 141 | 80 | 180 | 802 | |
2 | 468 | 440 | 97 | 95 | 48 | 42 | 860 | |
3 | 585 | 459 | 100 | 99 | 48 | 71 | 702 | |
4 | 462 | 634 | 89 | 80 | 44 | 104 | 670 | |
5 | 423 | 233 | 81 | 84 | 19 | 361 | 882 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="//d3js.org/d3.v3.min.js"></script> | |
<body> | |
<div id='control' style='height:20px;border:0;padding:0;margin:0'> | |
<input type='text' style='width:640;height:18px;margin:0;padding:0;border:solid 1px'></input> | |
</div> | |
<div id='graph' style='height:480px;border:0;padding:0;margin:0'> | |
</div> | |
<script> |
NewerOlder