-
Notifications
You must be signed in to change notification settings - Fork 13
/
index.html
60 lines (46 loc) · 2.61 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!doctype html>
<html>
<head>
<!-- Declare the character set of your files -->
<meta charset="utf-8">
<!-- Give your page a title "Exercise ###" -->
<title>React + D3</title>
<!-- Set the author of the page to your name -->
<meta author="Michael Freeman">
<!-- Set device width to ensure proper renering on mobile devices -->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Libraries -->
<!-- <script src="https://code.jquery.com/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/js/materialize.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.8/css/materialize.css" /> -->
<script src="lib/jquery.min.js"></script>
<script src="lib/materialize.js"></script>
<link rel="stylesheet" href="lib/materialize.css" />
<!-- D3 Library -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.13.0/d3.min.js"></script> -->
<script src="lib/d3.min.js"></script>
<!-- Read in React scripts -->
<!-- <script src="https://unpkg.com/react@15/dist/react.js"></script>
<script src="https://unpkg.com/react-dom@15/dist/react-dom.js"></script> -->
<script src="lib/react.js"></script>
<script src="lib/react-dom.js"></script>
<!-- Read in our main.jsx file -->
<script type="text/jsx" src="main.js"></script>
<!-- Read in Babel Script -->
<!-- <script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.14.0/babel.min.js"></script> -->
<script src="lib/babel.min.js"></script>
<!-- Read in css file -->
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body class="container">
<h1 class="header">React + D3</h1>
<p>
These resources are designed to teach D3 users how to scaffold their projects using React. <strong>Demos</strong> are completed demonstrations of certain techniques, while <strong>exercises</strong> contain instructions for building a particular page (a <code>*_solution.js</code> file is also included). These were originally developed for a workshop
at
<a href="http://www.openvisconf.com/" target="_blank">OpenvisConf 2018</a>. All code is available
<a href="http://github.com/mkfreeman/react-d3" target="_blank">on GitHub</a>. Built by
<a href="http://mfviz.com" target="_blank">Michael Freeman</a>. See accompanying slides <a href = "https://docs.google.com/presentation/d/1x2Wz56-3FfZpwi5gEuppMWQmotj1MoTYXCqbkKm4aAc/edit?usp=sharing" target = "_blank">here</a>
</p>
<div id="examples"></div>
</body>
</html>