Skip to content

Instantly share code, notes, and snippets.

View newsroomdev's full-sized avatar

Gerald Rich newsroomdev

View GitHub Profile
@newsroomdev
newsroomdev / .block
Last active September 23, 2016 03:33
Nested Treemap
license: gpl-3.0
height: 1060
@newsroomdev
newsroomdev / .block
Last active September 26, 2016 22:33
g3-alpha
license: mit
@newsroomdev
newsroomdev / columnsContainsSpecialChars.js
Last active May 9, 2016 21:21
Dataproofer Check: special UTF-8 characters in string
var DataprooferTest = require("dataproofertest-js");
var util = require("dataproofertest-js/util")
var columnsContainsOddChars = new DataprooferTest();
/**
* Calculates the percentage of rows that contain special characters for each column
* Source: http://www.w3schools.com/charsets/ref_html_utf8.asp
*
* @param {Array} rows - an array of objects representing rows in the spreadsheet
* @param {Array} columnHeads - an array of strings for column names of the spreadsheet
@newsroomdev
newsroomdev / README.md
Last active September 28, 2016 06:33
SF Land Use Year Built Jenks With Linear Scale
@newsroomdev
newsroomdev / README.md
Last active January 30, 2016 04:49
Random line drawing 3

Refresh page to pseudo-randomly generate a new line. d3 creates some random invisible points within a bounding box in the center of the screen and then draws through those points.

Related:

ToDo:

@newsroomdev
newsroomdev / README.md
Last active January 30, 2016 04:49
Random line drawing 2

Refresh page to pseudo-randomly generate a new line. d3 creates some random invisible points within a bounding box in the center of the screen and then draws through those points.

Related:

ToDo:

@newsroomdev
newsroomdev / README.md
Last active January 30, 2016 04:48
Random line drawing

Refresh page to pseudo-randomly generate a new line. d3 creates two invisible points within a bounding box in the center of the screen and then draws through those points.

Related:

ToDo:

@newsroomdev
newsroomdev / btn.json
Created December 14, 2015 22:27
Test
{
"number":23,
"text": "Times the plane's computer system malfunctioned"
}
@newsroomdev
newsroomdev / README.md
Last active December 10, 2015 05:46
Cubehelix Interpolation
@newsroomdev
newsroomdev / README.md
Created December 3, 2015 20:17
fresh block