Skip to content

Instantly share code, notes, and snippets.

@susielu
susielu / index.html
Last active October 13, 2015 06:48
Basic block template
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Lato:300,900' rel='stylesheet' type='text/css'>
<style>
body{
background-color: whitesmoke;
}
@susielu
susielu / index.html
Last active September 19, 2016 21:11
Overlapping Dimensions
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link href='https://fonts.googleapis.com/css?family=Lato:300,900' rel='stylesheet' type='text/css'>
<style>
body{
background-color: whitesmoke;
}
@susielu
susielu / README.md
Last active September 30, 2016 01:01
Datasets

Datasets

@susielu
susielu / .gitignore
Last active April 21, 2017 17:14
d3-annotation: outline
.DS_Store
@susielu
susielu / .gitignore
Last active August 18, 2017 19:38
d3.annotation: Example Without Scales
.DS_Store
@susielu
susielu / .gitignore
Last active November 28, 2019 00:56
d3-annotation: Tooltip
.DS_Store
@susielu
susielu / .gitignore
Last active March 3, 2020 16:34
d3-annotation: Encircling Example
.DS_Store
@susielu
susielu / README.md
Last active April 9, 2020 14:22
d3-annotation v2.0

d3-annotation v2.0

Updated features for d3-annotation, a full post here.

This block uses all three of the new features:

  • the nx/ny feature for placing line labels
  • default styling, no need to import an annotation css file
  • color attribute to color the annotations
  • new badge option for the HBO and Netflix nomination callouts
@susielu
susielu / .gitignore
Last active June 10, 2020 19:06
d3-annotation: Thresholds & Annotation Colors
.DS_Store