This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Simulate random selection of sheets with given probabilities of number of errors on them | |
*/ | |
$path = ''; | |
$n_file_str = 'n.csv'; | |
$result_file = fopen('result.csv',"w"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"features":[{"id":"554782","coordinates":["14.421111","50.087106"],"name":"Praha","population":{"p6":200472,"p9":389250},"winner":"Schwarzenberg","classname":"schwarzenberg"},{"id":"582786","coordinates":["16.606085","49.193816"],"name":"Brno","population":{"p6":85372,"p9":99828},"winner":"Schwarzenberg","classname":"schwarzenberg"},{"id":"554821","coordinates":["18.291581","49.841743"],"name":"Ostrava","population":{"p6":92460,"p9":50317},"winner":"Zeman","classname":"zeman"},{"id":"554791","coordinates":["13.377767","49.748147"],"name":"Plze\u0148","population":{"p6":39708,"p9":46898},"winner":"Schwarzenberg","classname":"schwarzenberg"},{"id":"500496","coordinates":["17.251466","49.593699"],"name":"Olomouc","population":{"p6":24988,"p9":23406},"winner":"Zeman","classname":"zeman"},{"id":"563889","coordinates":["15.058251","50.769002"],"name":"Liberec","population":{"p6":19796,"p9":26814},"winner":"Schwarzenberg","classname":"schwarzenberg"},{"id":"554804","coordinates":["14.036975","50.660316"],"name":"\u |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Weighted PCA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>PSP 2010-2012</title> | |
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" /> | |
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script> | |
<script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script> | |
<style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Sankey Diagram</title> | |
<style> | |
#chart { | |
height: 500px; | |
} | |
.node rect { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name":"Jan Slez\u00e1k","d1":[[2010.75,-10.449745597388,"\u010cSSD","#F18811"],[2011.25,-8.716074399749,"\u010cSSD","#F18811"],[2011.75,-7.9820986835894,"\u010cSSD","#F18811"],[2012.25,-9.0711888553664,"\u010cSSD","#F18811"],[2012.75,-10.070410858611,"\u010cSSD","#F18811"],[2013.25,-9.3686358758656,"\u010cSSD","#F18811"]],"d2":[[2010.75,9.7828142103918,"\u010cSSD","#F18811"],[2011.25,5.122933582868,"\u010cSSD","#F18811"],[2011.75,-5.4898299554631,"\u010cSSD","#F18811"],[2012.25,-8.5719559696069,"\u010cSSD","#F18811"],[2012.75,-8.558220951388,"\u010cSSD","#F18811"],[2013.25,-8.7005937643537,"\u010cSSD","#F18811"]],"color":[[2010.75,"#F18811"],[2011.25,"#F18811"],[2011.75,"#F18811"],[2012.25,"#F18811"],[2012.75,"#F18811"],[2013.25,"#F18811"]]},{"name":"Dr.- Ing. Milan Urban","d1":[[2010.75,11.43704629593,"TOP 09","#673B6C"],[2011.25,11.126645322296,"TOP 09","#673B6C"],[2011.75,7.4724165726687,"TOP 09","#673B6C"],[2012.25,3.6898064649548,"TOP 09","#673B6C"],[2012.75,4.7471800721249,"TOP 09","#673B6C"],[2013.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[{"name":"Arno\u0161t \u0160krabal","d1":[[2012.25,2.3395],[2012.75,2.047]],"d2":[[2012.25,-1.5937],[2012.75,0.2378]],"color":[[2012.25,"#008000"],[2012.75,"#008000"]]},{"name":"Blanka \u0160im\u016fnkov\u00e1","d1":[[2012.25,-1.3891],[2012.75,-0.7452]],"d2":[[2012.25,0.9902],[2012.75,-0.5172]],"color":[[2012.25,"#023484"],[2012.75,"#023484"]]},{"name":"Daniela Hebnarov\u00e1","d1":[[2012.25,-1.3082],[2012.75,-1]],"d2":[[2012.25,0.7204],[2012.75,0.2608]],"color":[[2012.25,"#023484"],[2012.75,"#023484"]]},{"name":"Esma Opravilov\u00e1","d1":[[2012.25,-0.8974],[2012.75,1.81]],"d2":[[2012.25,-0.0216],[2012.75,1.5568]],"color":[[2012.25,"#E01C07"],[2012.75,"#E01C07"]]},{"name":"Jan \u017d\u00e1rsk\u00fd","d1":[[2012.25,-0.9831],[2012.75,-0.4314]],"d2":[[2012.25,1.3063],[2012.75,0.7685]],"color":[[2012.25,"#BBBBBB"],[2012.75,"#BBBBBB"]]},{"name":"Jarmila \u010c\u00edhalov\u00e1","d1":[[2012.25,-1.3891],[2012.75,-1.055]],"d2":[[2012.25,0.9902],[2012.75,0.0362]],"color":[[2012.25,"#BBBBBB"],[2012.75,"#BBBBBB"]]},{"n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*based on http://bost.ocks.org/mike/nations/ */ | |
#chart { | |
margin-left: -40px; | |
} | |
text { | |
font: 10px sans-serif; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function(){if (!Date.now) Date.now = function() { | |
return +new Date; | |
}; | |
try { | |
document.createElement("div").style.setProperty("opacity", 0, ""); | |
} catch (error) { | |
var d3_style_prototype = CSSStyleDeclaration.prototype, | |
d3_style_setProperty = d3_style_prototype.setProperty; | |
d3_style_prototype.setProperty = function(name, value, priority) { | |
d3_style_setProperty.call(this, name, value + "", priority); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<title>Krajské volby</title> | |
<style> | |
#chart { | |
/*margin-left: -40px;*/ | |
height: 900px;/*502*/ | |
width: 900px; | |
/*the width/height for czech rep. (itself) is 1.79*/ | |
border: 1px solid; |
OlderNewer