Built with blockbuilder.org
Created
April 25, 2016 17:20
-
-
Save yosiasz/03beb084526929b46925e0872555d4d8 to your computer and use it in GitHub Desktop.
Abyssinica
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
{"type":"Topology","transform":{"scale":[0.0012488104677095746,0.001196214441284574],"translate":[32.999490009154414,3.400879987144209]},"arcs":[[[2764,8669],[38,52],[-31,120],[83,240],[65,40],[40,-9],[35,17],[123,-5],[63,-21],[31,-34],[68,20],[3,50],[28,63],[142,33],[23,-29],[27,9],[22,38],[70,2],[48,-22],[42,31],[55,17],[43,100],[40,6],[6,87],[32,49],[73,14],[23,36],[37,-36],[22,-55],[62,-24],[41,-32],[43,13],[56,-21],[45,-97],[36,-49],[46,-19],[23,-49],[57,3],[132,41],[87,2],[40,27],[45,7],[26,27],[38,3],[44,80],[49,-2],[62,-48],[40,-3],[10,-40],[-4,-66],[40,-36],[25,32],[6,58],[32,28],[53,-5],[39,-34],[23,20],[-5,129],[60,-2],[42,-52],[46,-20],[15,-24],[46,-12],[23,-36],[66,-29],[52,-45],[37,5]],[[5593,9212],[8,-28],[-34,-20],[-79,6],[-47,16],[-53,-4],[-37,-23],[-3,-45],[50,7],[22,-13],[-22,-40],[-34,-1],[-16,-58],[67,-27],[-31,-34],[40,-11],[19,-33],[-7,-75],[29,2],[1,-56],[-27,-152],[26,-43],[-5,-90],[-55,12],[-22,-81],[18,-41],[-5,-91],[-17,-53],[40,-40],[16,-71],[20,-17],[-35,-59],[7,-49],[-14,-68],[27,-28],[38,-1],[38,-54],[1,-53],[-21,-71],[-40,-37],[-15,-42],[-5,-74],[17,-23],[-1,-52],[-23,-37]],[[5429,7460],[-125,-18],[-38,-35],[-25,3],[-12,57],[-76,4],[-52,-13],[4,-16],[-66,-5],[-34,44],[-10,104],[-50,144],[53,15],[44,31],[7,38],[-28,19],[31,37],[-21,15],[27,26],[-26,8],[-36,55],[-15,74],[-58,-10],[-31,-31],[-80,34],[-5,76],[27,22],[9,39],[-72,24],[-11,46],[-83,-30],[-88,28],[10,38],[-6,77],[-45,72],[-50,4],[-18,24],[-20,-28],[-24,30],[12,25],[-98,13],[-21,-25],[-34,14],[-37,-46],[-38,-17],[-124,12],[-50,-20],[-34,27],[-44,-9],[-8,28],[-47,2],[-86,95],[-24,-54],[-26,-25],[-16,-63],[-54,-53],[-85,-33],[-56,-11],[-33,21],[-18,-19],[-61,21],[-16,-16],[-39,46],[-85,18],[-12,-21],[-90,-45],[-43,4],[-121,81],[-52,68],[-47,24],[-54,5],[-69,22],[-39,105],[-23,33]],[[5593,9212],[59,58],[68,9],[66,-16],[178,-97],[165,-112],[149,-121],[192,-172],[139,-139],[51,-69],[174,-164],[64,-72],[101,-97],[113,-119],[75,-89],[62,-117],[154,-190],[90,-142],[-100,-176],[-112,-143],[-74,-141],[-44,-59],[-61,-52],[-50,-80],[-23,-107],[1,-212],[-13,-254]],[[7017,6339],[-16,-11],[-126,-5],[-153,3],[-99,-7],[-22,-30],[-7,-48],[-33,-57],[-91,-96],[8,-67],[-66,-236],[-24,-135],[-30,-102],[23,-53],[43,-19],[-138,-133],[-79,-116],[-40,-99],[-5,-76]],[[6162,5052],[-26,-31],[-105,-16],[-46,-26],[-51,-61],[-65,-106],[-65,-67],[-6,-65],[-54,-27],[-64,-89],[-31,-15],[-33,13],[33,88],[-14,28],[-69,8],[-23,54],[-8,53],[-81,4]],[[5454,4797],[41,58],[27,89],[-82,63],[51,42],[25,42],[3,97],[-36,108],[21,17],[120,-25],[-10,60],[58,87],[2,63],[-72,47],[3,45],[43,19],[57,-14],[13,18],[-18,77],[21,46],[15,150],[18,19],[-30,105],[13,63],[-41,67],[43,104],[-33,58],[51,74],[8,48],[-15,96],[-52,95],[-34,11],[-10,129],[-49,77],[8,37],[-17,37],[-46,29],[-43,64],[5,122],[-36,41],[-4,52],[-29,62],[4,35],[-25,43],[-7,69],[14,37]],[[1811,7134],[35,68],[30,8],[-8,36],[54,100],[28,4],[-4,38],[175,308],[35,15],[23,39],[44,-8],[163,45],[67,7],[37,-31],[40,0],[15,81],[3,95],[-22,34],[37,109],[66,257],[78,137],[19,86],[38,107]],[[5454,4797],[-32,-3],[-1,-217],[-110,-49],[-30,12],[-32,-51],[-42,-7],[-50,61],[-25,-19],[-13,-62],[-76,74],[-17,34],[1,75],[35,52],[44,89],[-21,36],[-55,15],[-24,68],[0,44],[40,-25],[20,17],[45,-15],[42,45],[14,73],[-71,36],[-40,-8],[-17,24],[19,35],[40,6],[25,90],[12,75],[-26,46],[-20,-29],[-24,6],[-45,-24],[-34,-40],[-15,-52],[-100,-63],[-29,46],[28,66],[-53,20],[-31,41],[-48,-44],[-66,46],[-33,102],[10,60],[-94,42],[27,36],[104,56],[-11,91],[20,42],[-12,70],[-58,3],[-48,19],[-39,-13],[-84,4],[-68,-12],[-19,-100],[-27,-22],[8,-37],[-23,-23],[-51,7],[-6,-35],[-59,-20],[-11,13],[-76,-56],[-53,-16],[-33,-42],[-140,-43],[-34,-39],[-100,-23],[-24,15],[-106,114],[-73,16],[-36,27],[-33,-6],[-10,-29],[-59,59],[-61,27],[-20,46],[26,49],[-10,16],[-85,18],[-40,20]],[[3231,5757],[-53,22],[-58,0],[-22,23],[-74,9],[-9,14],[-58,-8],[-7,-34],[-74,44],[-41,-4],[-13,29],[20,46],[-14,23],[-56,-3],[-45,-19],[-35,62],[-33,-3],[-27,73],[32,40],[-11,12],[54,92],[-54,30],[-3,32],[34,60],[44,40],[30,58],[38,14],[20,33],[35,-9],[-5,34],[-68,19],[1,92],[74,29],[-22,27],[24,32],[-25,14],[-2,37],[-25,7],[-53,-24],[-22,26],[32,40],[-57,96],[-30,24],[-5,56],[10,65],[-19,26],[-26,-31],[-95,-81],[-30,8],[-21,98],[-42,38],[-20,47],[-48,49],[-2,36],[-57,-6],[-84,45],[-34,-38],[-20,-58],[-50,-3],[-9,-39],[-61,-34],[-18,-52],[-28,14],[-99,-17],[-50,1],[-40,65],[19,29],[-33,30]],[[3304,7063],[7,-40],[81,24],[62,-45],[-5,-28],[29,-46],[-38,-31],[73,-48],[30,53],[0,64],[29,65],[37,16],[-5,36],[40,42],[56,146],[-47,84],[-2,23],[-66,61],[-39,-21],[-71,4],[-66,-71],[-19,15],[-36,-18],[-33,64],[-66,-47],[-23,-46],[-3,-60],[-16,-48],[9,-79],[-23,-25],[32,-19],[11,-37],[42,-6],[20,18]],[[3421,7087],[-26,30],[24,26],[21,-42],[-19,-14]],[[3231,5757],[-19,-60],[-22,-19],[-9,35],[-88,-23],[2,34],[-88,54],[-97,-49],[-3,-34],[-66,8],[-7,31],[23,62],[-59,2],[-73,-73],[-7,-29],[-38,-32],[-30,-84],[-30,3],[-120,-48],[0,-177],[25,-79],[-8,-55],[74,-71],[35,2],[38,-50],[-15,-34],[24,-81],[-14,-26],[-94,19],[-37,-49],[23,-25],[24,12],[8,-34],[-29,-46],[10,-27],[-53,-7],[-3,-24],[-43,-9],[-35,101],[-57,18],[-5,35],[-30,1],[-2,35],[-62,0],[-27,-16],[-43,12],[4,57],[25,22],[-11,38],[-40,12],[-49,39],[3,39],[-15,61],[-24,-9],[-44,42],[-29,-11],[-98,30],[-29,54],[10,44],[-56,60],[-54,29],[-42,-12],[-21,35],[-55,-5],[-25,-31],[-36,20],[7,69],[-47,14],[-25,-35],[-41,30],[-15,-22],[32,-42],[-29,-49],[21,-29],[-27,-45],[-54,-34],[12,-121],[-12,-46],[-40,-21],[-112,54],[-44,41],[-60,-12],[-54,16],[34,-69],[46,-36],[-15,-50],[-22,12],[-63,-26],[-2,-28],[36,-7],[-11,-107],[-47,-98],[-24,-8],[-158,26]],[[904,4851],[-22,281],[36,143],[57,154],[10,122],[80,62],[16,89],[-46,149],[23,66],[-35,37],[18,54],[69,73],[61,113],[111,77],[79,-68],[48,-54],[47,-18],[35,18],[4,38],[82,72],[-14,50],[39,198],[-28,39],[-34,3],[95,152],[28,97],[1,95],[-28,71],[35,60],[140,110]],[[2511,4701],[71,-61],[-8,-59],[25,-39],[-32,-1],[-39,30],[-17,-21],[-94,10],[1,81],[21,69],[72,-9]],[[2708,5062],[11,37],[35,20],[45,-24],[1,-20],[-51,-33],[16,-30],[-38,-42],[-19,92]],[[2671,4648],[-52,-29],[-28,30],[45,29],[35,-30]],[[907,4337],[8,16],[2,289],[-13,209]],[[6162,5052],[120,18],[38,-12],[30,-37],[-55,-16],[-56,1],[19,-63],[92,10],[70,28],[34,29],[71,28],[59,55],[72,10],[146,-38],[39,35],[82,13],[9,-28],[65,-8]],[[6997,5077],[30,16],[113,-15],[55,30],[29,-1],[45,-29],[62,70],[-22,48],[61,33],[48,-2],[62,56]],[[7480,5283],[30,-3],[16,-71],[-9,-54],[17,5],[74,-97],[43,-92],[-4,-33],[39,-94],[31,-29],[-28,-47],[36,-24],[47,-77],[82,-93],[35,-22],[13,-33],[-17,-39],[-5,-78],[49,-52],[11,-67],[-11,-94],[-105,-39],[-26,-57],[-27,-96],[-32,-41],[-37,24],[-39,80],[-30,167],[-21,31],[-144,37],[-48,83],[-38,-20],[-117,-98],[-35,-57],[1,-86],[-63,-102],[-18,-101],[-11,-197],[36,-59],[-72,-202],[23,-102],[242,-100],[9,-23],[-4,-102],[-38,-75],[4,-37],[-69,-101],[-16,-115],[-46,-90],[1,-43],[-51,-31],[-62,-15],[-31,30],[-65,-43],[-39,-75],[-56,-57],[-74,86],[-72,66],[-64,19],[-104,48],[-78,57],[-47,2],[-138,-153],[-31,-63],[-3,-42],[18,-99],[-10,-159],[9,-75],[-3,-150],[38,-104],[-72,-23],[-64,-51],[-95,-54],[-81,-100],[-287,-48],[-61,10],[-51,26],[-74,-93],[-28,-55],[-114,-311],[-17,-103],[2,-48],[-143,-336],[-22,-25],[-9,-57],[-40,-105],[17,-63],[-80,-142],[-92,-144],[-52,-18],[-102,-57]],[[4881,113],[-37,-10],[-68,5],[-52,-14],[-148,49],[-27,44],[-13,-24],[-72,8],[-31,41],[-13,-23],[-59,-20],[-211,14],[-45,-11],[-79,69],[-18,30],[-82,46],[-211,147],[-150,112],[-235,158],[-48,44],[-115,62],[-91,34],[-100,-3]],[[2976,871],[21,75],[42,74],[67,89],[25,91],[-26,62],[-4,45],[16,27],[14,79],[50,79],[30,15],[61,-11],[80,6],[28,16],[60,-16],[39,-29],[61,6],[81,45],[89,38],[14,28],[43,6],[58,-19],[64,-41],[38,8],[0,107],[28,42],[10,96],[-14,66],[11,19],[51,9],[54,32],[11,48],[-56,37],[-30,82],[-11,57],[-51,3],[-49,42],[-33,-15],[-19,131],[50,83],[9,47],[-10,62],[-34,42],[8,60],[51,67],[32,8],[46,-35],[38,22],[29,-34],[78,-32],[-5,-33],[82,10],[41,-42],[-7,-51],[-59,-23],[-34,-62],[21,-41],[-22,-33],[-36,-10],[-19,20],[-17,-51],[108,-187],[-13,-38],[20,-8],[37,25],[44,0],[57,42],[-18,21],[-73,22],[-3,30],[30,19],[38,93],[57,48],[-6,156],[38,39],[73,8],[65,-14],[48,-26],[52,6],[82,-83],[69,-118],[59,-18],[63,32],[-22,63],[33,77],[-25,107],[-7,60],[-28,11],[10,35],[-26,11],[-59,-9],[-7,37],[-89,25],[-17,23],[-51,-5],[-39,38],[-56,24],[4,35],[58,40],[-19,117],[-36,80],[-48,25],[-30,-30],[-53,0],[-28,31],[-36,-5],[-47,36],[-70,-88],[-13,-33],[-35,-6],[-38,-30],[-24,3],[-43,71],[12,96],[21,26],[129,80],[11,61],[24,18],[26,65],[68,30],[-22,65],[17,26],[-6,48],[26,65],[38,30],[16,44],[41,31],[26,87],[25,38],[-35,60],[3,42],[-36,58],[5,31],[36,-2],[33,-107],[31,-35],[7,83],[27,25],[-52,54],[13,55],[-11,37],[-30,31],[-72,22],[-39,-9],[-38,-124],[-66,-37],[-33,38],[4,58],[-36,31],[-68,-12],[-47,12],[-45,-26],[-31,12],[-32,-25],[-48,15],[-52,-35],[-38,-3],[-54,16],[-35,-12],[-33,40],[-41,-26],[-44,60],[-36,-7],[-33,-55],[1,-71],[36,-25],[84,-23],[-24,-113],[7,-91],[-50,-9],[-38,52],[-80,-19],[-1,-26],[38,-36],[-26,-77],[-3,-121],[35,-99],[-30,-60],[-13,-75],[-28,-35],[-75,-30],[-87,-71],[-39,-13],[-53,13],[-85,-16],[-58,6],[-79,32],[-88,66],[-15,27],[-28,-7],[-90,39],[-64,-6],[-46,31],[-37,3],[-62,29],[-78,60],[-52,1],[-24,29],[15,52],[-43,76],[-119,79],[45,89],[-36,110],[-76,3],[-34,-49],[62,-75],[-31,-42],[-54,-15],[-61,-42],[-51,5],[-25,63],[-51,-19],[-21,8],[-26,-44],[-34,11],[-11,-54],[-41,-22],[-45,-56],[19,-124]],[[1813,3460],[0,-25],[-57,-42],[-62,13],[-9,17],[34,34],[-10,22],[-93,38],[-10,56],[-40,50],[-38,25],[-27,48],[12,86],[54,69],[-49,32],[-2,21],[149,64],[-7,26],[-77,16],[-118,-13],[-28,53],[-29,22],[-68,13],[-70,86],[-76,38],[-64,53],[-41,52],[-73,40],[-37,-3],[-37,-40],[-33,26]],[[4601,4581],[28,-37],[27,-3],[12,31],[36,1],[-13,62],[26,-8],[16,57],[-25,67],[-70,-8],[-10,18],[-62,-13],[-37,-70],[21,-68],[51,-29]],[[7258,4872],[41,4],[29,-21],[39,11],[29,-28],[31,24],[-18,46],[16,76],[-25,20],[-41,-19],[-32,22],[-26,-13],[-35,-57],[-8,-65]],[[7480,5283],[-70,55],[-52,-9],[-124,-129],[-100,51],[-26,3],[-52,-36],[-47,-5],[-18,-122],[6,-14]],[[7017,6339],[45,1],[70,-25],[105,9],[35,15],[128,16],[133,3],[105,42],[133,23],[46,-12],[74,-54],[74,-15],[-118,-161],[-72,-145],[-2,-37],[80,-217],[64,-108],[88,-88],[55,-70],[15,-49],[106,-55],[30,-37],[-1,-31],[46,-128],[79,-106],[8,-29],[167,-109],[46,-56],[22,-8],[107,-94],[175,-143],[76,-40],[1173,-414],[892,-311],[211,-72],[768,23],[-924,-1011],[-502,-543],[-44,-53],[-179,-195],[-185,-196],[-470,-511],[-64,-65],[-78,-17],[-285,7],[-131,13],[-284,2],[-178,-34],[-204,-56],[-33,-18],[-91,-22],[-58,-37],[-130,-68],[-104,-87],[-20,-55],[-48,-78],[-116,-100],[-89,-43],[-117,-31],[-88,-17],[-186,-4],[-100,-25],[-52,-28],[-25,-41],[-65,-53],[-258,-21],[-160,-3],[-131,15],[-35,-11],[-47,21],[-106,88],[-35,47],[-45,31],[-85,77],[-101,-47],[-335,-147],[-32,-8],[-263,-144],[-73,-163],[-154,-164],[-16,-50],[-37,-2],[-11,36],[-239,21],[-86,46]],[[957,3090],[39,-2],[45,-38],[80,20],[76,6],[107,-61],[67,7],[71,69],[56,9],[78,-3],[78,49],[85,-43],[53,24],[77,-10],[-8,49],[16,122],[17,72],[-84,58],[3,42]],[[2976,871],[-61,8],[-80,-8],[-390,9],[-68,52],[-95,115],[-50,74],[11,80],[15,228],[31,36],[-25,88],[29,34],[-21,29],[-53,12],[-57,37],[-66,-8],[-28,29],[-62,4],[-76,-50],[-85,-23],[-13,41],[13,98],[-142,100],[2,52],[-65,117],[-43,62],[9,92],[-35,97],[9,29],[-15,95],[26,22],[2,76],[17,67],[-56,63],[-59,44],[-63,-3],[-62,53],[-10,25],[-60,42],[-77,12],[8,67],[-10,28],[-86,58],[-77,25],[-102,64],[1,47]],[[957,3090],[-10,28],[-64,31],[-10,24],[-63,49],[18,29],[-2,58],[-26,46],[-34,26],[-8,46],[-57,11],[-64,74],[-43,16],[-57,59],[-58,10],[-15,-16],[-53,38],[-60,14],[-80,-35],[-77,54],[-63,20],[-78,-7],[-48,60],[-5,69],[59,66],[9,46],[27,26],[58,20],[-21,54],[24,18],[-18,37],[22,35],[-7,87],[93,43],[71,-30],[74,39],[59,-1],[28,-19],[19,19],[47,-24],[11,-51],[61,-12],[108,100],[29,11],[66,-5],[88,84]]],"objects":{"regions":{"type":"GeometryCollection","geometries":[{"id":0,"type":"Polygon","arcs":[[0,1,2]]},{"id":1,"type":"Polygon","arcs":[[3,4,5,6,-2]]},{"id":2,"type":"MultiPolygon","arcs":[[[7,-3,-7,8,9],[10]],[[11]]]},{"id":3,"type":"MultiPolygon","arcs":[[[-10,12,13]],[[14]],[[15]],[[16]]]},{"id":4,"type":"Polygon","arcs":[[17,-13,-9,-6,18,19,20,21,22,23],[-15],[-17],[-16],[24],[25]]},{"id":5,"type":"Polygon","arcs":[[26,-19,-5,27,-21]]},{"id":6,"type":"Polygon","arcs":[[-20,-27]]},{"id":7,"type":"Polygon","arcs":[[-26]]},{"id":8,"type":"Polygon","arcs":[[-25]]},{"id":9,"type":"Polygon","arcs":[[28,-23,29]]},{"id":10,"type":"Polygon","arcs":[[-24,-29,30]]}]}}} |
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"> | |
<style> | |
.graticule { | |
fill: none; | |
stroke: #777; | |
stroke-opacity: .5; | |
stroke-width: .5px; | |
} | |
.land { | |
fill: #222; | |
} | |
.boundary { | |
fill: none; | |
stroke: #fff; | |
stroke-width: .5px; | |
} | |
</style> | |
<body> | |
<script src="//d3js.org/d3.v3.min.js"></script> | |
<script src="//d3js.org/topojson.v1.min.js"></script> | |
<script> | |
var width = 960, | |
height = 760; | |
var projection = d3.geo.mercator() | |
.scale(1550) | |
.translate([width / 2, height / 2]) | |
.precision(.1) | |
.center([45, 1]); | |
var path = d3.geo.path() | |
.projection(projection); | |
var graticule = d3.geo.graticule(); | |
var svg = d3.select("body").append("svg") | |
.attr("width", width) | |
.attr("height", height); | |
svg.append("path") | |
.datum(graticule) | |
.attr("class", "graticule") | |
.attr("d", path); | |
d3.json("ethiopia.json", function(error, world) { | |
if (error) throw error; | |
svg.insert("path", ".graticule") | |
.datum(topojson.feature(world, world.objects.regions)) | |
.attr("class", "land") | |
.attr("d", path); | |
svg.insert("path", ".graticule") | |
.datum(topojson.mesh(world, world.objects.regions, function(a, b) { return a !== b; })) | |
.attr("class", "boundary") | |
.attr("d", path); | |
}); | |
d3.select(self.frameElement).style("height", height + "px"); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment