Skip to content

Instantly share code, notes, and snippets.

@beemyfriend
beemyfriend / index.html
Last active August 4, 2017 18:34
Network of packages found in CRAN taskviews. Nodes filtered to only include packages in multiple taskviews.
<head>
<style>
canvas {
position: absolute;
}
svg {
position: absolute;
width: 1000px;
height: 600px;
@beemyfriend
beemyfriend / Justification.md
Last active August 1, 2017 06:40
RainbowR Stepper

Online Code of Conducts: Summary

Intro

This is a summary of the ideas that I read up on regarding Codes of Conduct (CoC). The goal of this summary is to understand what makes a good CoC in order to create one for the RainbowR slack group. I will do this by identifying the attributes of an effective CoC and by providing examples for each of the identified attributes. I will then conclude this summary by providing a draft of what I believe the RainbowR CoC should include According to the Geek Feminism wiki, an effective code of conduct should include:

  • Specific descriptions of common but unacceptable behavior.
  • Reporting instructions with contact information.
  • Information about how it may be enforced.
@beemyfriend
beemyfriend / index.html
Last active July 23, 2017 18:02
CoC Stepper
<head>
<style>
p, h1, h2, #joinus{
font-family: Georgia, Verdana, serif;
text-align: center;
}
html, body {
margin: 0;
height: 100%;
@beemyfriend
beemyfriend / index.html
Last active November 24, 2018 00:18
How do I loop through JSON objects in D3?
<head></head>
<body></body>
<script src="https://d3js.org/d3.v4.min.js"></script>
<script>
var data = [
{
"name": "Sample 1",
"embed": 10,
"interactive": 10,
"rapidDev": 7,
@beemyfriend
beemyfriend / index.html
Created July 13, 2017 15:26
Flubbering Symbols
<head></head>
<body></body>
<script src='https://rawgit.com/gka/d3-jetpack/master/build/d3v4%2Bjetpack.js'></script>
<script src="https://unpkg.com/[email protected]"></script>
<script>
var symbol_size = 300,
width = 1000,
height = 600,
duration = 3000;
@beemyfriend
beemyfriend / index.html
Created June 10, 2017 16:14
Fuzzy Map Prototype: Attempting a personal version of https://dylanmoriarty.github.io/blog/foggy-spaces.html
<head>
<style>
div.tooltip{
position: absolute;
text-align: left;
width: 360px;
height: 130px;
padding: 5px;
font-size: 14px;
background: lightsteelblue;
@beemyfriend
beemyfriend / index.html
Last active June 10, 2017 16:58
Point-Along-Path Interpolation for V4
<!DOCTYPE html>
<meta charset="utf-8">
<body>
<style>
path {
fill: none;
stroke: #000;
stroke-width: 3px;
}
@beemyfriend
beemyfriend / index.html
Last active June 2, 2017 22:45
Bioethics Primer
<head>
<style>
div#tooltip{
position: absolute;
text-align: left;
width: 250px;
height: 90px;
padding: 5px;
font-size: 14px;
background: white;
@beemyfriend
beemyfriend / index.html
Created May 3, 2017 04:32
Figuring out path tweening....
<head></head>
<body>
<body id = 'test'></body>
<script src = 'https://d3js.org/d3.v4.js'></script>
<script>
var height = 500,
width = 500,
symbol_size = 200,
animationDuration = 2000;
@beemyfriend
beemyfriend / index.html
Last active April 26, 2017 19:54
D3 Scale Primer
<head>
<style>
#sections > div{
opacity: .3;
}
#sections div.graph-scroll-active{
opacity: 1;
}