-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpathviz.html
More file actions
86 lines (83 loc) · 3.94 KB
/
pathviz.html
File metadata and controls
86 lines (83 loc) · 3.94 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WDProp: Everything about Wikidata Properties: John Samuel</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script type="text/javascript" src="wdprop.js"></script>
<script type="text/javascript" src="d3.v5.js"></script>
</head>
<body onload="getTranslationPathVizOptimized()">
<div id="mobile-menu-toggle" onclick="toggleMobileMenu()">
<span></span>
<span></span>
<span></span>
</div>
<div id="header">
<div id="logo"><a href="./index.html">WDProp</a>
<span id="subtitle">Everything about Wikidata properties</span>
</div>
<div id="theme-toggle" onclick="toggleTheme()" title="Toggle theme"></div>
</div>
<div id="sidebar">
<div id="sidebarlinks">
<ul>
<li><a href="./index.html">📊 Dashboard</a></li>
<li><a href="./languages.html">🌍 Languages</a></li>
<li><a href="./datatypes.html">📊 Data types</a></li>
<li><a href="./properties.html">🔧 Properties</a></li>
<li><a href="./classes.html">📦 Property Classes</a></li>
<li><a href="./provenance.html">📜 Provenance</a></li>
<li><a href="./search.html">🔍 Search</a></li>
<li><a href="./compare.html">⚖️ Compare</a></li>
<li><a href="templates/translated.html">💬 Property Discussion</a></li>
<li><a href="./wikiprojects.html">🚀 Wikiprojects</a></li>
<li><a href="./wdprop.html">ℹ️ About</a> </li>
</ul>
</div>
</div>
<div id="content">
<div class="section">
<h2>Visualization of Path of Translation</h2>
<div class="pathviz-legend">
<span class="pathviz-legend-item">
<span class="pathviz-legend-arrow">→</span> Arc direction: <strong>source → destination</strong>
(chronological translation order)
</span>
</div>
<div class="pathviz-container">
<h3 class="pathviz-title pathviz-title-labels">Labels</h3>
<div id="pathviz-labels"></div>
</div>
<div class="pathviz-container">
<h3 class="pathviz-title pathviz-title-descriptions">Descriptions</h3>
<div id="pathviz-descriptions"></div>
</div>
<div class="pathviz-container">
<h3 class="pathviz-title pathviz-title-aliases">Aliases</h3>
<div id="pathviz-aliases"></div>
</div>
<p>
Color code:
<span style="color:white;line-height:4vh">
<span style="background-color:#002171">Add</span>
<span style="background-color:#0069c0">Update</span>
<span style="background-color:red">Remove</span>
</span>
</p>
<h2>Translations made</h2>
<div id="translationPath"> </div>
<h2>Query</h2>
<div id="translationPathQuery"> </div>
<h2>Reference</h2>
<p>Visualization based on <a href="https://www.d3-graph-gallery.com/graph/arc_basic.html">arc diagram
using d3.js</a>.</p>
</div>
</div>
<div id="footer">
<p id="footertext">Powered by <a href="https://www.wikidata.org/">Wikidata</a> and <a
href="https://mediawiki.org/">MediaWiki</a> API</p>
</div>
</body>
</html>