Skip to content

Instantly share code, notes, and snippets.

Vincent Wochnik vwochnik

Block or report user

Report or block vwochnik

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@vwochnik
vwochnik / index.html
Created Sep 28, 2015
Scss overlay mixin
View index.html
<html>
<head>
<title>Test</title>
<!-- include stylesheet -->
</head>
<body>
<div class="overlay"></div>
</body>
<!-- include jQyery -->
<!-- include javascript -->
@vwochnik
vwochnik / .block
Last active Jun 13, 2016 — forked from hunzy/index.html
Line Chart with Grid [D3]
View .block
license: mit
@vwochnik
vwochnik / .block
Created Mar 4, 2016 — forked from mbostock/.block
Sunburst Partition
View .block
license: gpl-3.0
@vwochnik
vwochnik / .block
Last active Mar 8, 2016 — forked from mbostock/.block
Zoomable Sunburst
View .block
license: gpl-3.0
@vwochnik
vwochnik / .block
Last active Apr 12, 2016
D3 Correlation Matrix
View .block
license: mit
@vwochnik
vwochnik / .block
Last active Apr 12, 2016
D3.js rectangular selection
View .block
license: mit
@vwochnik
vwochnik / aggregate.js
Created Apr 12, 2016
Aggregate dataset by ticks
View aggregate.js
/**
* Aggregates a dataset containing {x,y} values by an array of x-axis ticks
* where the aggregated dataset contains one {x,y} value per specified
* tick.
* @param dataset input dataset of {x,y} values
* @param ticks array of ticks to aggregate by
* @return new dataset containing aggregated {x,y} values
*/
function aggregate(dataset, ticks) {
return _.chain(dataset)
You can’t perform that action at this time.