Skip to content

Instantly share code, notes, and snippets.

@susielu
susielu / README.md
Last active Aug 3, 2017
d3-annotation v2.0
View README.md

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 Apr 21, 2017
d3-annotation: outline
@susielu
susielu / .gitignore
Last active Apr 20, 2017
d3.annotation: Points of Interest
@susielu
susielu / .gitignore
Last active Jun 4, 2018
d3-annotation: Thresholds & Annotation Colors
@susielu
susielu / .gitignore
Last active Aug 18, 2017
d3.annotation: Example Without Scales
@susielu
susielu / .gitignore
Last active Mar 3, 2017
d3-annotation: Tooltip
@susielu
susielu / .gitignore
Last active Mar 7, 2017
d3-annotation: Responsive Types and Hover
@susielu
susielu / .gitignore
Last active Feb 15, 2018
d3-annotation: Encircling Example
@susielu
susielu / README.md
Last active Oct 3, 2016
K-Means Centroid Deviation
View README.md

K-Means Centroid Deviation

Added all of the Farmers' Markets data into the kMeans Library by @emilbayes, thank you!

Exploring the idea of using the areas around the centroids to exaggerate that cluster when it deviates from the rest of the clusters. This originates from the question "Which features in each cluster differentiate it from the rest?"

@susielu
susielu / index.html
Last active Sep 19, 2016
Overlapping Dimensions
View index.html
<!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;
}
You can’t perform that action at this time.