Skip to content

Instantly share code, notes, and snippets.

View matt-mcdaniel's full-sized avatar

Matt McDaniel matt-mcdaniel

View GitHub Profile
@matt-mcdaniel
matt-mcdaniel / README.md
Last active September 18, 2015 19:10
Interpolation and Area Charts

Interpolation/Easing with Randomized Data

An area chart with randomized data used to expirement with interpolations and easing functions.

@matt-mcdaniel
matt-mcdaniel / README.md
Last active November 24, 2015 23:32
d3.layout.stack() error with differing array lengths

hello markdown

@matt-mcdaniel
matt-mcdaniel / D3SvgOverlay.js
Last active November 25, 2015 03:50
D3 + Leaflet with Auto Fit to Bounds
/**
* Copyright 2015 Teralytics AG
*
* @author Kirill Zhuravlev <kirill.zhuravlev@teralytics.ch>
*
*/
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['leaflet', 'd3'], factory);
@matt-mcdaniel
matt-mcdaniel / README.md
Last active November 27, 2015 23:01
Exonerations and Race
@matt-mcdaniel
matt-mcdaniel / README.md
Created January 30, 2016 02:31
Pack Layout with Transitions
@matt-mcdaniel
matt-mcdaniel / README.md
Created April 5, 2016 20:30
Aster Plot in D3

This aster plot displays pie slices as lengths extending outward to the edge (0 at inner to 100 at outer). Widths of the pie slices represent the weight of each pie, which gets used to arrive at a weighted mean of the length scores in the center.

Contributors

Jim Regetz @regetz developed the initial aster plot function in R (see aster-plot on github)

Parker Abercrombie @parkerabercrombie developed the initial D3 prototype varying 3 of the 4 arc elements starting with Mike Bostock's Donut Chart:

  • outerRadius
  • startAngle
@matt-mcdaniel
matt-mcdaniel / README.md
Last active April 5, 2016 21:44
Aster Plot in D3

This aster plot displays pie slices as lengths extending outward to the edge (0 at inner to 100 at outer). Widths of the pie slices represent the weight of each pie, which gets used to arrive at a weighted mean of the length scores in the center.

Contributors

Jim Regetz @regetz developed the initial aster plot function in R (see aster-plot on github)

Parker Abercrombie @parkerabercrombie developed the initial D3 prototype varying 3 of the 4 arc elements starting with Mike Bostock's Donut Chart:

  • outerRadius
  • startAngle
import React from 'react';
import ReactDOM from 'react-dom';
class D3ComponentExample extends React.Component {
constructor(){
super();
this.update = this.update.bind(this);
}
@matt-mcdaniel
matt-mcdaniel / README.md
Last active May 6, 2016 00:08
Interactive Aster Plot
@matt-mcdaniel
matt-mcdaniel / README.md
Last active May 7, 2016 18:08
Interactive Radial Chart