xxxxxxxxxx
<html lang="">
<head>
<meta charset="UTF-8">
<title></title>
<link rel="stylesheet" href="">
</head>
<body>
<div id="svgContainer">
<!-- This is an HTML div, and inside goes the SVG -->
</div>
<script type="application/javascript">
xhr = new XMLHttpRequest();
xhr.open("GET", "a_song_of_ice_and_fire_chapter_graph.svg", false);
// Following line is just to be on the safe side;
// not needed if your server delivers SVG with correct MIME type
xhr.overrideMimeType("image/svg+xml");
xhr.send("");
document.getElementById("svgContainer")
.appendChild(xhr.responseXML.documentElement);
</script>
</body>
</html>