Skip to content

Instantly share code, notes, and snippets.

@quantbo
quantbo / index.html
Last active December 23, 2016 13:22
D3: In 'enter' sequence 'selectAll' accepts any non-empty string.
<!--
Adapted from Thinking with Joins:
https://bost.ocks.org/mike/join/
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<style>
@quantbo
quantbo / gap.csv
Last active December 13, 2016 23:56
D3 time series: gap not appearing
date value
1999-03-01 1.0891
1999-03-02 1.0931
1999-03-03 1.0888
1999-03-04 1.0824
1999-03-05 1.0843
1999-03-08 1.0899
1999-03-09 1.0873
1999-03-10 1.0961
1999-03-11 1.0932