Skip to content

Instantly share code, notes, and snippets.

" Vim syntax file
" Language: Jira Text Formatting Notation
" Maintainer: Michael Feyder feydermREMOVEME@gmail.com
" Latest Revision: 14 July 2016
if exists("b:current_syntax")
finish
endif
" highlights headers regardless of level
" REMAPPED KEYS
inoremap jj <ESC>
nnoremap f x
nnoremap ) 0w
let mapleader=","
set timeout timeoutlen=1500
:map <space> viw
" COLUMN RULER
:set ruler
@feyderm
feyderm / index.html
Last active June 4, 2020 09:22
D3 v4 single axis jitterplot pan and zoom
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
</head>
<body>
<div id="block"></div>
<script>
// dimensions
@feyderm
feyderm / index.html
Last active April 26, 2019 06:25
Geographic, interactive hexbin
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src = "https://feyderm.github.io/d3/d3.js"></script>
<script src = "https://feyderm.github.io/d3/hexbin/hexbin.js"></script>
<script src = "https://feyderm.github.io/d3/d3-legend-master/d3-legend.js"></script>
<script src = "https://feyderm.github.io/js/viridis_colors.js"></script>
</head>
@feyderm
feyderm / index.html
Last active October 8, 2016 16:59
Geographic, static hexbin
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<script src = "https://feyderm.github.io/d3/d3.js"></script>
<script src = "https://feyderm.github.io/d3/hexbin/hexbin.js"></script>
<script src = "https://feyderm.github.io/js/viridis_colors.js"></script>
</head>
<body>
@feyderm
feyderm / index.html
Last active October 8, 2016 21:50
Geographic, interactive scatterplot
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<style>
#tooltip {
font-family: sans-serif;
color: #454545;
@feyderm
feyderm / Readme.md
Last active January 21, 2017 05:25
Interactive, drop-down selection choropleth

Data: Workforce and Economic Development (2010-2013) from Open Baltimore

@feyderm
feyderm / index.html
Last active November 11, 2016 22:18
Opacity to jittered scatterplot
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<div id="block"></div>
<script src="https://d3js.org/d3.v4.min.js"></script>
@feyderm
feyderm / Readme.md
Last active January 22, 2017 19:48
iOS color recs

iOS colors recommended for both light and dark backgrounds; mouse over background rectangle to change its greyscale value.

@feyderm
feyderm / Readme.md
Last active February 8, 2017 22:03
Patterns of missing data

Data are from the freetrade dataset of the Amelia package.

Missing data is represented by filled circles, and columns represent unique patterns of missing data within an observation. The percentage of observations having a given pattern is reflected in the bar chart on top. The percentage of missing values for a given variable across all observations is reflected in the bar chart to the right.