A simple Riemann dashboard design with functionality similar to the grid layout from Riemanns built in dashboard.
(ns user | |
(:require [schema.core :as s] | |
[schema.utils :as s-utils])) | |
(defn filter-walker | |
"Creates a walker which replaces sub-trees in values of maps with nil | |
if they do not conform to schema." | |
[schema] | |
(s/start-walker | |
(fn [schema] |
(ns compojure-augmented.core | |
(:require [compojure.core])) | |
(def bare | |
(compojure.core/GET | |
"/foo/:bar" [bar] | |
{:status 200 | |
:body (str "Hello " bar)})) | |
(bare |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js"></script> | |
<script type="text/javascript"> | |
var width = 960, |
First prototype of propagator values over time for presentation.
Click to add nodes! Nodes near the cursor will be linked to the new node. Clicking an existing node will remove it.
This is an extension of this example, adding the capability of removing nodes by clicking them. This means that dragging is no longer supported.
Demographics treemap with population distribution and revenue obtained from that demographic associated with each node. The (fictitious) demographics data is loaded from a CSV file, whereas the revenue data is randomly generated.
Voronoi diagram for British outbound postcodes. The voronoi
function breaks when the data points close to each other are not removed.
Projection of all British outbound postcodes (also known as "the bit before the space")
for f in ~/dir/*.txt; do bin/do_thing $f; done |