Skip to content

Instantly share code, notes, and snippets.

View perrie's full-sized avatar

Jessica Perrie perrie

View GitHub Profile
@perrie
perrie / index.html
Last active November 25, 2019 19:57
Applying d3.js darker / lighter to colour.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Brighter / Darker</title>
<style type="text/css">
.rect {
width:120px;
height:80px;
float:left;
@perrie
perrie / index.html
Last active August 29, 2015 14:11 — forked from stepheneb/index.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>One Graph</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<script type="text/javascript" src="simple-graph.js"></script>
<style type="text/css">
body { font: 13px sans-serif; }
rect { fill: #fff; }