forked from CityCop/Map
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
22 lines (22 loc) · 863 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Crimeometer data visualizations</title>
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {margin: 0; font-family: sans-serif; width: 100vw; height: 100vh; overflow: hidden;}
.tooltip {pointer-events: none; position: absolute; z-index: 9; font-size: 13px; padding: 8px; background: #000; color: #fff; min-width: 160px; max-height: 240px; overflow-y: hidden;}
</style>
<script src="https://d3js.org/d3-dsv.v1.min.js"></script>
<script src="https://d3js.org/d3-fetch.v1.min.js"></script>
</head>
<body>
<div id="app">
</div>
</body>
<script type="text/javascript">
App.renderToDOM(document.getElementById('app'));
</script>
</html>