Skip to content

Instantly share code, notes, and snippets.

@nolanbjohnson
nolanbjohnson / purchase-data.csv
Last active February 3, 2018 15:27
upload of citi bike data for playing with Observable and Vega-lite
Date Sales Person Product Interested Purchased
2017-07-03 Arthur Cutlery 2 0
2017-07-03 Arthur Immersion Blender 2 0
2017-07-05 Arthur Cutlery 6 0
2017-07-05 Arthur Immersion Blender 1 1
2017-07-06 Arthur Cutlery 11 1
2017-07-06 Arthur Immersion Blender 4 3
2017-07-07 Arthur Cutlery 6 0
2017-07-07 Arthur Immersion Blender 4 1
2017-07-09 Arthur Cutlery 1 0
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Notebook</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
<!DOCTYPE html>
<meta charset="utf-8">
Hello, world!
@nolanbjohnson
nolanbjohnson / icd10.js
Last active December 30, 2015 00:39
ICD-10 - diagnoses coding
var data = {
"name": "ICD10",
"description": "",
"children": [
{
"name":"A00-B99",
"description":"Certain infectious and parasitic diseases ",
"url":"http://api.aqua.io/codes/beta/icd10/a00-b99"
},
{
@nolanbjohnson
nolanbjohnson / 11-x-series.js
Last active December 29, 2015 01:19
11x Series
var data = [{"type": "input one", "value": [1,1]},
{"type": "input two", "value": [1,1]},
{"type": "intermezzo one", "value": [1,1]},
{"type": "intermezzo one", "value": [1,1]},
{"type": "result one", "value": [1,2,1]},
{"type": "input three", "value": [1,1,1]},
{"type": "intermezzo two", "value": [1,2,1]},
{"type": "intermezzo two", "value": [1,2,1]},
{"type": "intermezzo two", "value": [1,2,1]},
{"type": "result two", "value": [1,3,4,3,1]},