Built with blockbuilder.org
Created
December 27, 2017 19:04
-
-
Save anonymous/bc7772eb898a92bf7d97fa0a57a5d4ff to your computer and use it in GitHub Desktop.
fresh block
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
license: mit |
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> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } | |
</style> | |
</head> | |
<body> | |
<script> | |
// Feel free to change or delete any of the code you see in this editor! | |
var svg = d3.select("body").append("svg") | |
.attr("width", 500) | |
.attr("height", 500) | |
let berlin52 = [[565,575],[25,185],[345,750],[945,685],[845,655], | |
[880,660],[25,230],[525,1000],[580,1175],[650,1130],[1605,620], | |
[1220,580],[1465,200],[1530,5],[845,680],[725,370],[145,665], | |
[415,635],[510,875],[560,365],[300,465],[520,585],[480,415], | |
[835,625],[975,580],[1215,245],[1320,315],[1250,400],[660,180], | |
[410,250],[420,555],[575,665],[1150,1160],[700,580],[685,595], | |
[685,610],[770,610],[795,645],[720,635],[760,650],[475,960], | |
[95,260],[875,920],[700,500],[555,815],[830,485],[1170,65], | |
[830,610],[605,625],[595,360],[1340,725],[1740,245]] | |
svg.append("text") | |
.text("Edit the code below to change me!") | |
.attr("y", 200) | |
.attr("x", 120) | |
.attr("font-size", 36) | |
.attr("font-family", "monospace") | |
</script> | |
</body> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment