Skip to content

Instantly share code, notes, and snippets.

View GordonSmith's full-sized avatar
🤬

Gordon Smith GordonSmith

🤬
View GitHub Profile
@GordonSmith
GordonSmith / README.md
Last active October 31, 2015 19:08
D3 Adapter for JS Arrays

POC of a JS Array Adapter which enables d3 selections to amend its content.

@GordonSmith
GordonSmith / .block
Last active August 8, 2018 08:36
Tutorial 1: Hello World
license: Apache-2.0
@GordonSmith
GordonSmith / README.md
Last active August 31, 2017 14:44
Google Map + D3 Generated Layers

Google Map with several D3 generated layers:

  • Graticule
  • Countries
  • US Counties
  • GeoHash
  • Pins
  • Graph
  • Heat
@GordonSmith
GordonSmith / README.md
Last active December 31, 2015 15:43
D3 ConicEqualArea Projection + D3 Generated Layers

D3 ConicEqualArea Projection with several D3 generated layers:

  • Graticule
  • Countries
  • US Counties
  • GeoHash
  • Pins
  • Graph
  • Heat
@GordonSmith
GordonSmith / README.md
Last active August 31, 2016 15:26
Column Chart

HPCC Column Chart

@GordonSmith
GordonSmith / .block
Last active October 21, 2018 06:54
Tutorial 5: HPCC Platform Workunit Data + Column Chart
license: Apache-2.0
@GordonSmith
GordonSmith / .block
Last active August 9, 2018 09:09
Tutorial 6: HPCC Platform Roxie Data + Column Chart
license: Apache-2.0
@GordonSmith
GordonSmith / README.md
Last active January 29, 2016 11:01
Sample MegaChart

HPCC Mega Chart

@GordonSmith
GordonSmith / README.md
Last active February 4, 2016 17:39
Custom Ordinal Palette

HPCC Palettes

@GordonSmith
GordonSmith / Query.js
Last active March 2, 2016 11:17
Router
define(["d3", "src/common/Utility", "src/other/Comms", "src/map/Graph", "es6-promise"], function (d3, Utility, Comms, Graph) {
var params = Utility.urlParams();
var hasParams = Object.keys(params).length && params["from"] && params["to"] && params["date"];
var Query = {
send: function (from, to, date) {
return new Promise(function (resolve, reject) {
Promise.all([
Query.airports ? Promise.resolve(Query.airports) : new Promise(function (resolve, reject) {
d3.csv("./airports.csv", function (rows) {
Query.airports = {};