|
6 | 6 | <title>D3 Tutorial</title> |
7 | 7 | <meta name="description" content="D3 Tutorial" /> |
8 | 8 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
| 9 | + <style> |
| 10 | + body { |
| 11 | + margin: auto; |
| 12 | + max-width: 800px; |
| 13 | + font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; |
| 14 | + } |
| 15 | + a, |
| 16 | + a:visited { |
| 17 | + color: black; |
| 18 | + } |
| 19 | + </style> |
9 | 20 | </head> |
10 | 21 |
|
11 | 22 | <body> |
| 23 | + <h1>D3 Tutorial 📊📈</h1> |
| 24 | + |
12 | 25 | <section> |
13 | | - <h2>Tutorial</h2> |
14 | | - see |
15 | | - <a href="https://github.com/sgratzl/d3tutorial/blob/master/README.md">Tutorial</a> |
| 26 | + <p> |
| 27 | + This is a short interactive tutorial introducing the basic elements and concepts of D3. The tutorial itself is |
| 28 | + hosted on Github. This page just contains a summary link list of all examples. |
| 29 | + </p> |
| 30 | + <p> |
| 31 | + The tutorial itself is located at |
| 32 | + <a href="https://github.com/sgratzl/d3tutorial/blob/master/README.md">https://github.com/sgratzl/d3tutorial</a>. |
| 33 | + </p> |
16 | 34 | </section> |
17 | 35 |
|
18 | 36 | <section> |
19 | | - <h3>Incremental Example: Barchart</h3> |
20 | | - <ul> |
| 37 | + <h2>Part 1: Dive into D3 aka. Student's First Barchart</h2> |
| 38 | + <ol> |
21 | 39 | <li> |
22 | 40 | <a href="./examples/barchart01_initial.html">Initial</a> |
23 | | - <a href="https://codepen.io/sgratzl/pen/xRrrgp" target="_blank">(@Codepen.io)</a> |
| 41 | + <a href="https://codepen.io/sgratzl/pen/xRrrgp" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
24 | 42 | </li> |
25 | 43 | <li> |
26 | 44 | <a href="./examples/barchart02_title.html">Adding Title</a> |
27 | | - <a href="https://codepen.io/sgratzl/pen/PooYYzb" target="_blank">(@Codepen.io)</a> |
| 45 | + <a href="https://codepen.io/sgratzl/pen/PooYYzb" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
28 | 46 | </li> |
29 | 47 | <li> |
30 | 48 | <a href="./examples/barchart03_json.html">Loading Data</a> |
31 | | - <a href="https://codepen.io/sgratzl/pen/poozzbL" target="_blank">(@Codepen.io)</a> |
| 49 | + <a href="https://codepen.io/sgratzl/pen/poozzbL" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
32 | 50 | </li> |
33 | 51 | <li> |
34 | 52 | <a href="./examples/barchart04_scale.html">Using Scales</a> |
35 | | - <a href="https://codepen.io/sgratzl/pen/oNNvvzv" target="_blank">(@Codepen.io)</a> |
| 53 | + <a href="https://codepen.io/sgratzl/pen/oNNvvzv" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
36 | 54 | </li> |
37 | 55 | <li> |
38 | 56 | <a href="./examples/barchart05_interactive.html">Interactive Filtering</a> |
39 | | - <a href="https://codepen.io/sgratzl/pen/JjjPPRQ" target="_blank">(@Codepen.io)</a> |
| 57 | + <a href="https://codepen.io/sgratzl/pen/JjjPPRQ" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
40 | 58 | </li> |
41 | 59 | <li> |
42 | 60 | <a href="./examples/barchart06_animation.html">Animation</a> |
43 | | - <a href="https://codepen.io/sgratzl/pen/dyybbNP" target="_blank">(@Codepen.io)</a> |
| 61 | + <a href="https://codepen.io/sgratzl/pen/dyybbNP" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
44 | 62 | </li> |
45 | 63 | <li> |
46 | 64 | <a href="./examples/barchart07_final.html">Final Barchart</a> |
47 | | - <a href="https://codepen.io/sgratzl/pen/NWWKKda" target="_blank">(@Codepen.io)</a> |
| 65 | + <a href="https://codepen.io/sgratzl/pen/NWWKKda" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
48 | 66 | </li> |
49 | | - </ul> |
| 67 | + </ol> |
50 | 68 | </section> |
51 | 69 |
|
52 | 70 | <section> |
53 | | - <h3>Incremental Example: Multiple Coordinated View</h3> |
54 | | - <ul> |
| 71 | + <h2>Part 2: Student's First Multiple Coordinated View</h2> |
| 72 | + <ol> |
55 | 73 | <li> |
56 | 74 | <a href="./examples/mcv01_initial.html">Initial</a> |
57 | | - <a href="https://codepen.io/sgratzl/pen/bQzNBO" target="_blank">(@Codepen.io)</a> |
| 75 | + <a href="https://codepen.io/sgratzl/pen/bQzNBO" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
58 | 76 | </li> |
59 | 77 | <li> |
60 | 78 | <a href="./examples/mcv02_piechart.html">Pie Chart Layout</a> |
61 | | - <a href="https://codepen.io/sgratzl/pen/abbooyg" target="_blank">(@Codepen.io)</a> |
| 79 | + <a href="https://codepen.io/sgratzl/pen/abbooyg" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
62 | 80 | </li> |
63 | 81 | <li> |
64 | 82 | <a href="./examples/mcv03_interaction.html">Interaction</a> |
65 | | - <a href="https://codepen.io/sgratzl/pen/QWWLLqm" target="_blank">(@Codepen.io)</a> |
| 83 | + <a href="https://codepen.io/sgratzl/pen/QWWLLqm" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
66 | 84 | </li> |
67 | 85 | <li> |
68 | 86 | <a href="./examples/mcv04_morevisses.html">More Visualization</a> |
69 | | - <a href="https://codepen.io/sgratzl/pen/VVgYqx" target="_blank">(@Codepen.io)</a> |
| 87 | + <a href="https://codepen.io/sgratzl/pen/VVgYqx" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
70 | 88 | </li> |
71 | 89 | <li> |
72 | 90 | <a href="./examples/mcv05_transitions.html">Advanced Animations</a> |
73 | | - <a href="https://codepen.io/sgratzl/pen/WNNeeXM" target="_blank">(@Codepen.io)</a> |
| 91 | + <a href="https://codepen.io/sgratzl/pen/WNNeeXM" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
74 | 92 | </li> |
75 | 93 | <li> |
76 | 94 | <a href="./examples/mcv06_final.html">Final Result</a> |
77 | | - <a href="https://codepen.io/sgratzl/pen/yLLBBPx" target="_blank">(@Codepen.io)</a> |
| 95 | + <a href="https://codepen.io/sgratzl/pen/yLLBBPx" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
78 | 96 | </li> |
79 | | - </ul> |
| 97 | + </ol> |
80 | 98 | </section> |
81 | 99 |
|
82 | 100 | <section> |
83 | | - <h3>Examples</h3> |
| 101 | + <h2>Layout Examples</h2> |
84 | 102 | <ul> |
85 | | - <li><a href="./examples/pie.html">Pie Chart</a></li> |
| 103 | + <li> |
| 104 | + <a href="./examples/pie.html">Pie Chart</a> |
| 105 | + <a href="https://codepen.io/sgratzl/pen/BaaBBdZ" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
| 106 | + </li> |
86 | 107 | <li> |
87 | 108 | <a href="./examples/miserables.html">Force Directed Layout Example</a> |
| 109 | + <a href="https://codepen.io/sgratzl/pen/poozzrK" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
| 110 | + </li> |
| 111 | + </ul> |
| 112 | + </section> |
| 113 | + |
| 114 | + <section> |
| 115 | + <h2>TypeScript Examples</h2> |
| 116 | + <ul> |
| 117 | + <li> |
| 118 | + <a href="./examples/barchart_final_ts.html">Bar Chart</a> |
| 119 | + <a href="https://codepen.io/sgratzl/pen/gObqdEG" target="_blank" rel="noopener noreferer">(@Codepen.io)</a> |
88 | 120 | </li> |
89 | 121 | </ul> |
90 | 122 | </section> |
|
0 commit comments