-
Notifications
You must be signed in to change notification settings - Fork 1
/
plotcormandible.html
16 lines (15 loc) · 6.42 KB
/
plotcormandible.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<head>
<script src="http://cdn.jsdelivr.net/webjars/org.webjars.bower/d3/3.5.17/d3.min.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.8/vega.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.0.3/vega-lite.js" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.0.0-rc7/vega-embed.js" charset="utf-8"></script>
</head>
<body>
<div id='vegas-7bb32733-c839-49d7-b305-b18ac49c0021'></div>
<script>
var vegaSpec = {"width":600.0,"height":600.0,"mark":"rect","encoding":{"x":{"field":"component","type":"nominal"},"y":{"field":"attribute","type":"nominal"},"color":{"field":"correlation","type":"quantitative"}},"description":"Heatmap of attribute and component correlation for mandible data","data":{"values":[{"component":"1","attribute":"X1","correlation":-0.9309541231144106},{"component":"2","attribute":"X1","correlation":-0.9678924842401004},{"component":"3","attribute":"X1","correlation":-0.32800899628935315},{"component":"4","attribute":"X1","correlation":-0.958933214964419},{"component":"5","attribute":"X1","correlation":0.6263650561407751},{"component":"6","attribute":"X1","correlation":-0.24604006862629085},{"component":"7","attribute":"X1","correlation":0.6211148755957585},{"component":"8","attribute":"X1","correlation":0.6410098276792752},{"component":"9","attribute":"X1","correlation":0.7678230332285191},{"component":"1","attribute":"X2","correlation":-0.8640358226524716},{"component":"2","attribute":"X2","correlation":-0.8704737877402429},{"component":"3","attribute":"X2","correlation":-0.494791098567704},{"component":"4","attribute":"X2","correlation":-0.8949068748996153},{"component":"5","attribute":"X2","correlation":0.8307072447818399},{"component":"6","attribute":"X2","correlation":0.034994775573127614},{"component":"7","attribute":"X2","correlation":0.6759952484692467},{"component":"8","attribute":"X2","correlation":0.9024144796887261},{"component":"9","attribute":"X2","correlation":0.5894388825227397},{"component":"1","attribute":"X3","correlation":-0.7786223455731692},{"component":"2","attribute":"X3","correlation":-0.9011640425237267},{"component":"3","attribute":"X3","correlation":-0.1466708544759044},{"component":"4","attribute":"X3","correlation":-0.8600001023522936},{"component":"5","attribute":"X3","correlation":0.7834776937525519},{"component":"6","attribute":"X3","correlation":-0.20502492898925317},{"component":"7","attribute":"X3","correlation":0.2836943470751021},{"component":"8","attribute":"X3","correlation":0.6366314430594965},{"component":"9","attribute":"X3","correlation":0.44184785432314405},{"component":"1","attribute":"X4","correlation":-0.8738439351660765},{"component":"2","attribute":"X4","correlation":-0.8262333871090723},{"component":"3","attribute":"X4","correlation":-0.5270055639315049},{"component":"4","attribute":"X4","correlation":-0.8617097826471717},{"component":"5","attribute":"X4","correlation":0.9060476605085596},{"component":"6","attribute":"X4","correlation":0.23243496129750743},{"component":"7","attribute":"X4","correlation":0.6184974655450292},{"component":"8","attribute":"X4","correlation":0.7424096293650863},{"component":"9","attribute":"X4","correlation":0.496633173527326},{"component":"1","attribute":"X5","correlation":-0.8869386168574422},{"component":"2","attribute":"X5","correlation":-0.9525781795358205},{"component":"3","attribute":"X5","correlation":-0.4947318383784454},{"component":"4","attribute":"X5","correlation":-0.8828424375086626},{"component":"5","attribute":"X5","correlation":0.5848601756794177},{"component":"6","attribute":"X5","correlation":-0.21055218185647312},{"component":"7","attribute":"X5","correlation":0.5223552413485043},{"component":"8","attribute":"X5","correlation":0.7389184384734427},{"component":"9","attribute":"X5","correlation":0.8169358028882229},{"component":"1","attribute":"X6","correlation":-0.9060598614492117},{"component":"2","attribute":"X6","correlation":-0.8567116403950695},{"component":"3","attribute":"X6","correlation":-0.5597405362820475},{"component":"4","attribute":"X6","correlation":-0.9296264680850609},{"component":"5","attribute":"X6","correlation":0.5800072900438551},{"component":"6","attribute":"X6","correlation":0.11370949677210286},{"component":"7","attribute":"X6","correlation":0.5000104080099298},{"component":"8","attribute":"X6","correlation":0.8281409611449586},{"component":"9","attribute":"X6","correlation":0.7193313839296328},{"component":"1","attribute":"X7","correlation":-0.6585397482418096},{"component":"2","attribute":"X7","correlation":-0.6701808277146221},{"component":"3","attribute":"X7","correlation":-0.45378237938458493},{"component":"4","attribute":"X7","correlation":-0.7568837483512862},{"component":"5","attribute":"X7","correlation":0.28945008809880063},{"component":"6","attribute":"X7","correlation":-0.5352453826822893},{"component":"7","attribute":"X7","correlation":0.6204936948635702},{"component":"8","attribute":"X7","correlation":0.3664425145946918},{"component":"9","attribute":"X7","correlation":0.963459116047243},{"component":"1","attribute":"X8","correlation":-0.890759056094379},{"component":"2","attribute":"X8","correlation":-0.9195717965343939},{"component":"3","attribute":"X8","correlation":-0.2340972223010742},{"component":"4","attribute":"X8","correlation":-0.8920213196198634},{"component":"5","attribute":"X8","correlation":0.49032268911564697},{"component":"6","attribute":"X8","correlation":-0.22783647125682563},{"component":"7","attribute":"X8","correlation":0.7048325364590169},{"component":"8","attribute":"X8","correlation":0.5473359087037878},{"component":"9","attribute":"X8","correlation":0.8341378305093979},{"component":"1","attribute":"X9","correlation":-0.9785225864883628},{"component":"2","attribute":"X9","correlation":-0.8912298710092342},{"component":"3","attribute":"X9","correlation":-0.4261696927338412},{"component":"4","attribute":"X9","correlation":-0.8981159034024208},{"component":"5","attribute":"X9","correlation":0.6610379081462053},{"component":"6","attribute":"X9","correlation":-0.05051424985594008},{"component":"7","attribute":"X9","correlation":0.616910934446625},{"component":"8","attribute":"X9","correlation":0.861785830924874},{"component":"9","attribute":"X9","correlation":0.7222493202519519}]},"$schema":"https://vega.github.io/schema/vega-lite/v2.json"};
vegaEmbed("#vegas-7bb32733-c839-49d7-b305-b18ac49c0021", vegaSpec);
</script>
</body>
</html>