Skip to content

Instantly share code, notes, and snippets.

View mheiber's full-sized avatar

Max Heiber mheiber

View GitHub Profile
@mheiber
mheiber / Architecture 1.js
Created January 13, 2018 03:38 — forked from anonymous/Architecture 1.js
Architecture 1.js
// Architecture 1
function callApi(x, y, z) {
manipulate params
manipulate params some more ...
return fetch(...)
.then(result => {
if (result.status === ...) {
handle status stuff
}
@mheiber
mheiber / README.md
Created April 23, 2014 23:56 — forked from mbostock/.block

This pie chart is constructed from a CSV file storing the populations of various age groups. The chart employs a number of D3 features: