Skip to content

Instantly share code, notes, and snippets.

View timelyportfolio's full-sized avatar

timelyportfolio timelyportfolio

View GitHub Profile
@timelyportfolio
timelyportfolio / .block
Last active February 4, 2018 17:24 — forked from wavded/fipsToState.json
State FIPS JSON
license: mit
@timelyportfolio
timelyportfolio / .block
Last active August 18, 2019 17:07 — forked from ramnathv/concaveman.R
Using Concaveman in R using V8 with beeswarm (fork)
license: mit
height: 100
@timelyportfolio
timelyportfolio / .block
Last active March 16, 2017 11:35 — forked from andrea2910/index.html
Zoomable Icicle with Labels and Breadcrumb (d3v4)
license: mit
@timelyportfolio
timelyportfolio / multi-crowbar-no-d3.js
Last active October 25, 2016 20:31 — forked from gka/multi-crowbar.js
like svg-crowbar, but for multiple svg elements!
// no d3 so assumes d3 v3 already loaded
var multiCrowbar = (function() {
/*
* SVG Export
* converts html labels to svg text nodes
* will produce incorrect results when used with multi-line html texts
*
* Author: Gregor Aisch
* based on https://github.com/NYTimes/svg-crowbar/blob/gh-pages/svg-crowbar-2.js
@timelyportfolio
timelyportfolio / .block
Last active October 4, 2016 20:06 — forked from trebor/index.html
Reusable Bubble Chart
license: mit
@timelyportfolio
timelyportfolio / .block
Last active January 22, 2019 04:58 — forked from cmgiven/.block
Zoomable Treemap Bar Chart
license: mit
@timelyportfolio
timelyportfolio / data.json
Last active May 24, 2016 03:33 — forked from cpsievert/trisurf.R
recreate plotly python trisurf in R
[
{
"name": "",
"i": [
73,
96,
96,
121,
98,
121,
@timelyportfolio
timelyportfolio / README.md
Created April 19, 2016 18:11 — forked from jcheng5/README.md
Using arbitrary Leaflet plugins with Leaflet for R

Using arbitrary Leaflet JS plugins with Leaflet for R

The Leaflet JS mapping library has lots of plugins available. The Leaflet package for R provides direct support for some, but far from all, of these plugins, by providing R functions for invoking the plugins.

If you as an R user find yourself wanting to use a Leaflet plugin that isn't directly supported in the R package, you can use the technique shown here to load the plugin yourself and invoke it using JS code.

@timelyportfolio
timelyportfolio / README.md
Created November 14, 2015 13:20 — forked from monfera/.block
Real-time bandlines

This is an initial, real time prototype of bandlines styled with a divergent ColorBrewer2 palette that is a good choice for finance and accessibility.

The implementation is in mid-transition toward using a new functional reactive programming library, flyd.

From the original bl.ock::

Bandlines were invented by Stephen Few as background for sparklines to aid quick interpretation, crucial on dashboards: *"Bandlines use horizontal bands of color in the background of the plot area to display information about the distribution of values. This information is similar to that found in a box plot. To do this you must gather information about how values related to the measure that will be featured in the sparkline are distributed during a period of history that usually extends further into the past than the values that will appear in the sparkline itself. [...] Bandlines may

@timelyportfolio
timelyportfolio / shotsign.json
Created November 13, 2015 14:37 — forked from pbeshai/README.md
Shooting Signatures
[{"x":0,"y":0.7984084880636605,"widthValue":158,"colorValue":0.1629224750896936},{"x":1,"y":0.765993265993266,"widthValue":145,"colorValue":0.16595424641159695},{"x":2,"y":0.7241379310344827,"widthValue":74,"colorValue":0.14788844079931118},{"x":3,"y":0.6082191780821917,"widthValue":36,"colorValue":0.09604064011114222},{"x":4,"y":0.45348837209302323,"widthValue":35,"colorValue":0.0205093443427537},{"x":5,"y":0.37333333333333335,"widthValue":39,"colorValue":-0.015647382920110142},{"x":6,"y":0.3744075829383886,"widthValue":39,"colorValue":-0.012850902701298128},{"x":7,"y":0.3926940639269407,"widthValue":37,"colorValue":0.0016039868744902042},{"x":8,"y":0.4619047619047619,"widthValue":22,"colorValue":0.07160931036145685},{"x":9,"y":0.4788135593220339,"widthValue":45,"colorValue":0.0874320387619314},{"x":10,"y":0.4979423868312757,"widthValue":45,"colorValue":0.10551911317398666},{"x":11,"y":0.4542253521126761,"widthValue":42,"colorValue":0.06070052516549129},{"x":12,"y":0.4503311258278146,"widthValue":44,"colorVa