Skip to content

Instantly share code, notes, and snippets.

View hudsonb's full-sized avatar

Brian Hudson hudsonb

  • Spotify
  • Whitesboro, NY
View GitHub Profile
@hudsonb
hudsonb / .block
Last active February 18, 2017 14:47 — forked from mbostock/.block
Streamgraph
license: gpl-3.0
@hudsonb
hudsonb / .block
Created February 24, 2017 02:40 — forked from mbostock/.block
Stacked-to-Multiples
license: gpl-3.0
@hudsonb
hudsonb / .block
Last active January 27, 2019 00:22 — forked from pbeshai/.block
Animate thousands of points with canvas and D3
license: mit
height: 620
border: no
@hudsonb
hudsonb / .block
Last active January 29, 2018 17:45 — forked from mbostock/.block
Stroke Dash Interpolation
license: gpl-3.0
@hudsonb
hudsonb / unemployment.tsv
Created February 6, 2018 20:39
Choropleth Demo
id rate
01001 5.1
01003 4.9
01005 8.6
01007 6.2
01009 5.1
01011 7.1
01013 6.7
01015 6.1
01017 5.0
@hudsonb
hudsonb / BasicBarChartDemo.kt
Created February 13, 2018 18:33
Let's Make a Bar Chart
package kubed.demo
import javafx.application.Application
import javafx.geometry.Insets
import javafx.scene.Group
import javafx.scene.Scene
import javafx.scene.paint.Color
import javafx.stage.Stage
import kubed.scale.scaleLinear
import kubed.selection.selectAll
import javafx.application.Application
import javafx.scene.Group
import javafx.scene.Scene
import javafx.scene.effect.BlendMode
import javafx.scene.paint.Color
import javafx.scene.shape.Path
import javafx.scene.shape.StrokeLineJoin
import javafx.stage.Stage
import kubed.array.range
import kubed.selection.selectAll
@hudsonb
hudsonb / .block
Last active June 14, 2018 01:50 — forked from mbostock/.block
Spherical Mercator
license: gpl-3.0
height: 960
border: no
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.paint.CycleMethod;
import javafx.scene.paint.RadialGradient;
import javafx.scene.paint.Stop;
import javafx.scene.shape.Circle;
import javafx.stage.Stage;

Demonstrates the creation of a Choropleth Map using Kubed/JavaFX.