Skip to content

Instantly share code, notes, and snippets.

@mcorrell
mcorrell / index.html
Created August 6, 2018 18:10
Coloring Residuals By Weirdness
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>
Coloring Residuals
</title>
<script src="//d3js.org/d3.v5.min.js"></script>
<script src="//vega.github.io/datalib/datalib.min.js"></script>
<style>
@mcorrell
mcorrell / index.html
Last active August 1, 2018 05:43
XKCD Mercator Chart
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>
XKCD Non-Uniform Y-Axis Tick Chart "Time Series Mercator"
</title>
<script src="//d3js.org/d3.v5.min.js"></script>
<style>
body {
@mcorrell
mcorrell / index.html
Last active July 12, 2018 21:10
Yahtzee Plots
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title>
Yahtzee Plot
</title>
<style>
</style>
<script src="//d3js.org/d3.v5.min.js"></script>
<script src="//vega.github.io/datalib/datalib.min.js"></script>
@mcorrell
mcorrell / index.html
Created April 21, 2018 14:54
Vega Test
<!DOCTYPE html>
<html>
<head>
<title>Embedding Vega-Lite</title>
<script src="https://cdn.jsdelivr.net/npm/vega@3.2.1"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-lite@2.3.1"></script>
<script src="https://cdn.jsdelivr.net/npm/vega-embed@3.2.0"></script>
</head>
<body>
@mcorrell
mcorrell / data.csv
Created March 21, 2018 00:18
Hierarchical Clusterings of Dashboards
DB String
DB001 YYNNOMNNNNNYNYY
DB002 YYNNOLNNYNNNYYN
DB003 NNNYPMYNYNNNYYN
DB004 YNNYPMNNNNNNNYN
DB005 YNNYPMNNYNNNNYY
DB006 NNNYPMNNYNNNNYN
DB007 NNNYPMNNYNNNYNY
DB008 YYNNOMNNYNNNYYN
DB009 NYNNPLNNYNNNNYN
@mcorrell
mcorrell / 20102039hi-BIG.png
Last active December 15, 2017 22:57
CIG Mockup
20102039hi-BIG.png
@mcorrell
mcorrell / CIG.csv
Created November 28, 2017 01:06
Beeswarm Plot of Temperature Models
Tribe Geography Variable TimePeriod Scenario Calculation Statistic Value Units
Yakama 1 tasmean_ANN 19712000 historical value mean 7.9040 C
Yakama 1 tasmean_ANN 19712000 historical value min 7.5401 C
Yakama 1 tasmean_ANN 19712000 historical value max 8.1089 C
Yakama 1 tasmean_ANN 19712000 historical value 90 8.0709 C
Yakama 1 tasmean_ANN 19712000 historical value 10 7.8030 C
Yakama 1 tasmean_ANN 19712000 historical value CSIRO-Mk3-6-0 7.7672 C
Yakama 1 tasmean_ANN 19712000 historical value inmcm4 7.9572 C
Yakama 1 tasmean_ANN 19712000 historical value CanESM2 7.8668 C
Yakama 1 tasmean_ANN 19712000 historical value MIROC-ESM 7.8899 C
@mcorrell
mcorrell / index.html
Last active July 16, 2018 22:38
Possible worlds visualization of polling data using quantile box plots.
<!DOCTYPE html>
<meta charset="utf-8">
<style>
body {
font-family: futura, sans-serif;
}
body div{
text-align: center;
width: 500px;