Skip to content

Instantly share code, notes, and snippets.

@feyderm
feyderm / README.md
Last active February 21, 2017 13:09
Gradient Decent for Logistic Regression
@feyderm
feyderm / .DS_Store
Last active February 3, 2023 22:29
Scatter plot + Brush
@feyderm
feyderm / README.md
Last active February 19, 2018 12:59
Exploring Gradient Decent Parameters for Linear Regression
@feyderm
feyderm / Readme.md
Last active January 21, 2017 16:48
z-score to jitterplot

Click z-scores for values, then mouse over for model.

Data is from mtcars.

@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.

@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 / 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 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 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 / 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>