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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
var width = 1200; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
.attr('width', width) | |
.attr('height', height); |
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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
var width = 960; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
.attr('width', width) | |
.attr('height', height); |
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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
var width = 960; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
.attr('width', width) | |
.attr('height', height); |
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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
alert('test met scale=150'); | |
var width = 960; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
alert('test met scale=150'); | |
var width = 960; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
alert('hello'); | |
var width = 960; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
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> | |
<script src="https://d3js.org/d3.v3.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
alert('hello world, greetings from Willy'); | |
var width = 960; | |
var height = 500; | |
var svg = d3.select("body").append("svg") | |
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> | |
<style> | |
path { | |
fill: #ccc; | |
stroke: #fff; | |
stroke-width: .5px; | |
} | |
path:hover { | |
fill: orange; |
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> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
var width = 700, height = 400; | |
var svg = d3.select(".graph").append("svg") | |
.attr("viewBox", "0 0 " + (width) + " " + (height)) | |
.style("max-width", "700px"); | |
var url = "https://gist.githubusercontent.com/michellechandra/0b2ce4923dc9b5809922/raw/a476b9098ba0244718b496697c5b350460d32f99/us-states.json"; | |
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> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<div class="graph"></div> | |
<script> | |
var width = 700, height = 400; | |
var svg = d3.select(".graph").append("svg") | |
.attr("viewBox", "0 0 " + (width) + " " + (height)) | |
.style("max-width", "700px"); | |
var url = "https://geodata.nationaalgeoregister.nl/cbsgebiedsindelingen/wfs?service=wfs&request=GetFeature&typeName=cbs_arrondissementsgebied_2019_gegeneraliseerd&outputFormat=json&srsName=EPSG:4326"; |