Yet another simple gauge chart using d3 Inspired by Jake Trent's Codepen snippet
To move the pointer needle, type in following code in you javascript console
needle.moveTo(.25)
license: mit |
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<script src="script.js"></script> |
<template> | |
<require from="components/navigation.html"></require> | |
<h1>Aurelia Router Demo</h1> | |
<navigation router.bind="router" class="primary-navigation"></navigation> | |
<div class="page-host"> | |
<router-view></router-view> | |
</div> | |
</template> |
<template> | |
<require from="components/navigation.html"></require> | |
<h1>Aurelia Router Demo</h1> | |
<navigation router.bind="router" class="primary-navigation"></navigation> | |
<div class="page-host"> | |
<router-view></router-view> | |
</div> | |
</template> |
Yet another simple gauge chart using d3 Inspired by Jake Trent's Codepen snippet
To move the pointer needle, type in following code in you javascript console
needle.moveTo(.25)
.DS_Store | |
*.log | |
tmp/ |
var jsdom = require('jsdom'); | |
var fs = require('fs'); | |
var request = require("request"); | |
var jsdom = require("jsdom"); | |
jsdom.defaultDocumentFeatures = { | |
FetchExternalResources : ['script', 'img', 'css', 'frame', 'link'], | |
ProcessExternalResources : ['script', 'img', 'css', 'frame', 'link'], |
var jsdom = require('jsdom'); | |
jsdom.defaultDocumentFeatures = { | |
FetchExternalResources : ['script'], | |
ProcessExternalResources : ['script'], | |
MutationEvents : '2.0', | |
QuerySelector : false | |
}; | |
var htmlDoc = '<html lang="en-US">' + |
var jsdom = require('jsdom'); | |
jsdom.defaultDocumentFeatures = { | |
FetchExternalResources : ['script'], | |
ProcessExternalResources : ['script'], | |
MutationEvents : false, | |
QuerySelector : false | |
}; | |
//var fs = require('fs'); | |
//var jquery = fs.readFileSync("./jquery-1.6.2.min.js").toString(); |
var jsdom = require('jsdom'); | |
jsdom.defaultDocumentFeatures = { | |
FetchExternalResources : ['script'], | |
ProcessExternalResources : ['script'], | |
MutationEvents : false, | |
QuerySelector : false | |
}; | |
//var fs = require('fs'); | |
//var jquery = fs.readFileSync("./jquery-1.6.2.min.js").toString(); |