[TOC]
A single observation record should have the following:
- a code or ID to identify the type of observation
#!/bin/bash | |
ES_VERSION=0.90.10 | |
ES_HOME=$PWD | |
ES_HEAP_SIZE=4096 | |
ES_CLUSTER_NAME=elasticsearch | |
PLUGIN_LIST=( | |
'elasticsearch/elasticsearch-lang-javascript/1.4.0' | |
'elasticsearch/elasticsearch-mapper-attachments/1.9.0' |
"use strict"; | |
function chart() { | |
var margin = { top: 100, right: 50, bottom: 100, left: 150 }, | |
width = 500 - margin.left - margin.right, | |
height = 500 - margin.top - margin.bottom, | |
x = d3.scale.ordinal().rangeBands([0, width]), | |
xlabel = d3.scale.ordinal().rangePoints([0, width], 1), | |
xaxis = d3.svg.axis().scale(xlabel).orient("bottom").tickSize(0,0), | |
y = d3.scale.ordinal().rangeBands([height, 0]), |
<!DOCTYPE html> | |
<html> | |
<head lang="en"> | |
<meta charset="UTF-8"/> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css"/> | |
<link rel="stylesheet" href="style.css"/> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.9.3/lodash.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.5/d3.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3-tip/0.6.3/d3-tip.min.js"></script> |