Built with blockbuilder.org
forked from molliemarie's block: CrimeInChicago_BarPlot_Complete
license: mit |
Built with blockbuilder.org
forked from molliemarie's block: CrimeInChicago_BarPlot_Complete
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v5.min.js"></script> | |
<style type="text/css"> | |
/*Add styling here */ | |
.axis text { | |
font-size: 12px; | |
font-family: "Times New Roman", Times, serif; | |
fill: #777; | |
} | |
</style> | |
<body> | |
<div id=#titleDiv> | |
<h1>Text</h1> | |
</div> | |
</body> | |
<script> | |
// Reading in data here, then calling "ready" function: | |
d3.json("https://data.cityofchicago.org/resource/m6dm-c72p.json") | |
.then(function(d) { | |
console.log(d); | |
}); | |
</script> |