A radar chart visualizes multivariate data in a 2D chart of three or more quantitative variables represented on axes.
The project is created using AngularJS and D3.js.
// TODO: make `pages` optional and measure the div when unspecified, this will | |
// allow more normal document flow and make it easier to do both mobile and | |
// desktop. | |
import { | |
createContext, | |
useCallback, | |
useContext, | |
useEffect, | |
useMemo, | |
useRef, |
// https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP | |
// https://scotthelme.co.uk/content-security-policy-an-introduction/ | |
// scanner: https://securityheaders.com/ | |
const rootDomain = `your-domain.com`; // or your server IP for dev | |
const directives = { | |
'img-src': [ | |
"*", | |
"'self'", |
/** | |
* A simple circular data structure | |
*/ | |
function Circular(arr, startIntex){ | |
this.arr = arr; | |
this.currentIndex = startIntex || 0; | |
} | |
Circular.prototype.next = function(){ | |
var i = this.currentIndex, arr = this.arr; |
package de.indivon.example.config; | |
import java.util.ArrayList; | |
import java.util.Collection; | |
import javax.inject.Inject; | |
import org.springframework.boot.autoconfigure.AutoConfigureBefore; | |
import org.springframework.boot.context.properties.EnableConfigurationProperties; | |
import org.springframework.context.annotation.Bean; |
A radar chart visualizes multivariate data in a 2D chart of three or more quantitative variables represented on axes.
The project is created using AngularJS and D3.js.
/* | |
* Inspired by: http://stackoverflow.com/questions/4360060/video-streaming-with-html-5-via-node-js | |
*/ | |
var http = require('http'), | |
fs = require('fs'), | |
util = require('util'); | |
http.createServer(function (req, res) { | |
var path = 'video.mp4'; |