Skip to content

Instantly share code, notes, and snippets.

View kevinschaul's full-sized avatar

Kevin Schaul kevinschaul

View GitHub Profile
@kevinschaul
kevinschaul / README.md
Last active December 18, 2015 11:58
Undefined data in d3

There has to be a better way to denote undefined data regions.

I've tried using line.defined to pick out only the points directly before and after an undefined region, but I've had no luck.

@kevinschaul
kevinschaul / index.html
Last active December 19, 2015 10:29
Naively show undefined regions in d3 charts (3)
<!DOCTYPE html>
<style>
text {
font-family: Arial, sans-serif;
font-size: 11px;
stroke: none;
fill: #999;
}
.axis {
stroke: none;
@kevinschaul
kevinschaul / index.html
Created July 6, 2013 16:42
Naively show undefined regions in d3 charts (2)
<!DOCTYPE html>
<style>
text {
font-family: Arial, sans-serif;
font-size: 11px;
stroke: none;
fill: #999;
}
.axis {
stroke: none;
@kevinschaul
kevinschaul / index.html
Last active December 19, 2015 10:29
Naively show undefined regions in d3 charts (1)
<!DOCTYPE html>
<style>
text {
font-family: Arial, sans-serif;
font-size: 11px;
stroke: none;
fill: #999;
}
.axis {
stroke: none;
@kevinschaul
kevinschaul / index.html
Last active December 19, 2015 10:29
Show undefined regions in d3 charts
<!DOCTYPE html>
<style>
text {
font-family: Arial, sans-serif;
font-size: 11px;
stroke: none;
fill: #999;
}
.axis {
stroke: none;
@kevinschaul
kevinschaul / README.md
Last active December 25, 2015 22:08
Installation instructions for web developers, specific to the Star Tribune stack

Star Tribune web dev tools installation

Must-haves

Includes tools needed to compile software

Via the Mac App Store

Note: An Apple developer account is required.

@kevinschaul
kevinschaul / README.md
Last active December 27, 2015 12:59
Election results pages
@kevinschaul
kevinschaul / README.md
Last active August 29, 2015 13:56
Interaction for star plots in d3
@kevinschaul
kevinschaul / index.html
Last active August 29, 2015 13:56
Multiple instances of rangeslider.js (bug)
<link rel="stylesheet" href="http://andreruffert.github.io/rangeslider.js/bower_components/rangeslider.js/dist/rangeslider.css">
<script type='text/javascript' src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script type='text/javascript' src="http://andreruffert.github.io/rangeslider.js/bower_components/rangeslider.js/dist/rangeslider.min.js"></script>
<br />
<input id='range-0' type="range" min="10" max="1000" step="10" value="300">
<br />
<br />
<input id='range-1' type="range" min="10" max="1000" step="10" value="300">