Skip to content

Instantly share code, notes, and snippets.

View mkfreeman's full-sized avatar

Michael Freeman mkfreeman

View GitHub Profile
@mkfreeman
mkfreeman / index.html
Created August 14, 2014 17:16
Lecture 4 exercise 4 // source http://jsbin.com/xizor/1
<!DOCTYPE html>
<html>
<head>
<script src="http://d3js.org/d3.v3.min.js"></script>
<meta name="description" content="Lecture 4 exercise 4" />
<meta charset="utf-8">
<title>JS Bin</title>
<style id="jsbin-css">
.axis path, .axis line {
fill: none;
.axis path, .axis line {
fill: none;
stroke: black;
shape-rendering: crispEdges;
}
li{
font-size:17px;
}
#rect-1 {
fill:blue;
}
.shape{
opacity:.4;
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="Class Exercise 1" />
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
<!-- Create a div with an id of "top-div"-->
<div id="top-div">
@mkfreeman
mkfreeman / README.md
Last active January 1, 2016 16:08 — forked from mbostock/.block

Click on any arc to zoom in. Click in the center to zoom out.

A sunburst is similar to a treemap, except it uses a radial layout. The root node of the tree is at the center, with leaves on the circumference. The area (or angle, depending on implementation) of each arc corresponds to its value. Sunburst design by John Stasko. Data courtesy Jeff Heer.