use local version of d3

This commit is contained in:
j 2018-08-10 18:00:55 +01:00
parent 953f308621
commit 86c56fb139
3 changed files with 7 additions and 2 deletions

5
static/ontology/d3.v3.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
<html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v3.min.js"></script>
<script src="d3.v3.min.js"></script>
<link rel="stylesheet" href="index.css">
<title>Ontology Tree</title>
</head>

View File

@ -15,7 +15,7 @@ var diagonal = d3.svg.diagonal()
var svg = d3.select("body").append("svg")
.attr("width", "100%")
.attr("height", height + margin.top + margin.bottom)
.append("g")
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
d3.json("sized_ontology.json", function(error, flare) {