Skip to content

Instantly share code, notes, and snippets.

View mbecica's full-sized avatar

Mary Becica mbecica

View GitHub Profile
@mbecica
mbecica / .block
Last active November 8, 2019 07:45 — forked from syntagmatic/.block
Infant Mortality Choropleth
border: no
height: 800
license: gpl-3.0
@mbecica
mbecica / .block
Last active November 8, 2019 07:46
Rate of US Fertility Clinics per 100,000 people
height: 600
border: no
license: gpl-3.0
@mbecica
mbecica / .block
Last active May 11, 2017 03:32
US Fertility Clinics
height: 600
border: no
license: gpl-3.0
@mbecica
mbecica / index.html
Created September 9, 2013 06:19
Polar hyperbolic grid
<!DOCTYPE HTML>
<head>
<script type="text/javascript" src="http://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<script type="text/javascript">
//Setup canvas
var canvas = document.createElement("canvas");
document.body.appendChild(canvas);
canvas.width = 1000;
@mbecica
mbecica / example.js
Created July 26, 2013 20:09
example.js
alert('hello!')
@mbecica
mbecica / README.md
Created December 1, 2012 21:52 — forked from mbostock/.block
Grouped Bar Chart

This grouped bar chart is constructed from a CSV file storing the populations of different states by age group. The chart employs conventional margins and a number of D3 features:

@mbecica
mbecica / index.html
Created October 5, 2012 09:38
AppDirect release history
<!DOCTYPE HTML>
<head>
<title>AppDirect release History</title>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/d3/2.10.0/d3.v2.min.js"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/underscore.js/1.4.1/underscore-min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/1.8.2/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="https://raw.github.com/bigmlcom/tipsy/master/src/javascripts/jquery.tipsy.js" type="text/javascript" charset="utf-8"></script>
<link rel="stylesheet" href="http://onehackoranother.com/projects/jquery/tipsy/stylesheets/tipsy.css" type="text/css" title="no title" charset="utf-8">
</head>
<style>
@mbecica
mbecica / index.html
Created August 2, 2012 06:11
Stacked Bar d3 transition in canvas
<!DOCTYPE HTML>
<head>
<title>Stacked bar d3 canvas transition</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/d3/2.8.1/d3.v2.min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/zepto/1.0rc1/zepto.min.js"></script>
</head>
<body>
<div id="graphs"></div>
<button id="switch">Switch</button>
@mbecica
mbecica / index.html
Created June 4, 2012 03:38
Physics for tributary
<!DOCTYPE html>
<head>
<title>Some Physics</title>
<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/zepto/1.0rc1/zepto.min.js"></script>
<script type="text/javascript" src="physics.js"></script>
<style>
body {
margin:0;
}
</style>