###zQuiz
Code: https://github.com/ZJONSSON/zQuiz
(original demo: http://zjonsson.github.com/zQuiz/)
###jQuizMe
code:
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> | |
<title>D3 + Leaflet (fork from bost.ocks.org/mike/leaflet/)</title> | |
<style> | |
#map { width: 960px; height: 500px;} | |
path { fill: #000; fill-opacity: .2; stroke: #fff; stroke-width: 1.5px;} | |
path:hover { fill: brown;fill-opacity: .7;} | |
</style> | |
<p id="map"><p> | |
<script src="http://d3js.org/d3.v2.min.js?2.9.3"></script> | |
<script src="leaflet.js"></script> |
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> | |
<script src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<title>barStack</title> | |
<style> | |
.axis text { | |
font: 10px sans-serif; | |
} | |
.axis path, .axis line { |
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> | |
<script src="http://mbostock.github.com/d3/d3.v2.js"></script> | |
<title>barStack</title> | |
<style> | |
.axis text { | |
font: 10px sans-serif; | |
} | |
.axis path, .axis line { |
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> | |
<title>Testing d3.js in Leaflet.js</title> | |
<link rel="stylesheet" href="leaflet.css"></link> | |
<script src="http://mbostock.github.com/d3/d3.v2.js?2.8.1"></script> | |
<script src="http://code.leafletjs.com/leaflet-0.3.1/leaflet.js"></script> | |
<style type="text/css"> | |
svg , g |
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> | |
<link rel="stylesheet" type="text/css" href="style.css" /> | |
<h1>Nutrient Scatterplot (WebGL-2D)</h1> | |
<canvas id="chart"></canvas> | |
<div id="controls"> | |
<span id="hover-food"></span><br/> | |
X axis <select id="xaxis"></select><br/> | |
Y axis <select id="yaxis"></select><br/> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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"> | |
<style> | |
.arc { | |
fill-opacity: .2; | |
} | |
.axis .fill { | |
stroke: #aaa; |
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"> | |
<style> | |
.arc { | |
fill-opacity: .2; | |
} | |
.axis .fill { | |
stroke: #aaa; |
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 helpers for various array functions | |
d3.f = {} | |
d3.f.get = function (key) { | |
return function(d) { | |
return typeof key === "function" ? key(d) : d[key] | |
} | |
}; |