Skip to content

Instantly share code, notes, and snippets.

View mattbrehmer's full-sized avatar

Matt Brehmer mattbrehmer

View GitHub Profile
@mattbrehmer
mattbrehmer / License.txt
Last active July 24, 2017 16:37
Sleep duration playground
------------------------------------------ START OF LICENSE -----------------------------------------
Timeline Storyteller
Copyright (c) Microsoft Corporation
All rights reserved.
MIT License
@mattbrehmer
mattbrehmer / index.html
Last active July 24, 2017 16:39
Resizing, Rescaling, and Updating Scatterplot
<!doctype html>
<html xmnls="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="style.css" charset="UTF-8">
</head>
<body>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.5.0/d3.min.js"></script>
<script type="text/javascript" src="scatterplot.js" charset="UTF-8"></script>
</html>
@mattbrehmer
mattbrehmer / Readme.md
Last active August 29, 2015 14:12
SoundConsensus

SoundConsensus is an interactive visualization by @mattbrehmer for comparing multiple ranked lists of record reviews from 19 prominent music publications. The data visualized here represents the 105 most-reviewed records released in 2014, according to the music publication aggregator site albumoftheyear.org.

Experience SoundConsensus, visit the project page, or visit the github repo.

Visual Encoding: Each column is associated with a music publication. Each cell containing a bar corresponds to a review score. The vertical position of a cell encodes its rank among other reviews from that publication. The bars in each cell encode the score itself.

The first column is unique in that it encodes the overall rank and score calculated by [albumoftheyear.org](htt

@mattbrehmer
mattbrehmer / README.md
Last active August 29, 2015 14:10
p5.js Scatterplot Maps
@mattbrehmer
mattbrehmer / License.txt
Last active April 12, 2016 18:13
Juxtaposed Focus + Context Box Plots
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@mattbrehmer
mattbrehmer / README.md
Last active August 29, 2015 14:05
p5.js Salary vs. Performance
@mattbrehmer
mattbrehmer / README.md
Last active August 29, 2015 14:05
Color Stock Chart

A color stock chart, faceted by stock name and drawn as small multiples. Each series contains 10 years of data, represented by the columns. Each column has a maximum (top tile), a median (middle tile), and a minimum (bottom tile).

Values are indexed to the median value in the first year in each series, which facilitates comparisons between stocks and years along a percentage scale. See Bertin's discussion of indexing for multiple time-series variables.

A recent study assessed the effectiveness of color stock charts, as well as a number of other time-series visualizations, for several analysis tasks, such as determining and comparing ranges. It is reported in this 2014 CHI paper by Albers et al.

@mattbrehmer
mattbrehmer / License.txt
Last active January 18, 2018 01:14
Box Plot w/ Brushing
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@mattbrehmer
mattbrehmer / License.txt
Last active August 25, 2016 20:50
Simple Box Plot w/ Point Hover
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
@mattbrehmer
mattbrehmer / README.md
Last active December 17, 2015 17:19
ShinyFork