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 27, 2015 12:59
Election results pages
@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 / 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 / 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
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 (3)
<!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 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.