Skip to content

Instantly share code, notes, and snippets.

View wboykinm's full-sized avatar

Bill Morris wboykinm

View GitHub Profile
@wboykinm
wboykinm / histogram.sql
Created October 12, 2015 13:07 — forked from wolever/histogram.sql
Functions to create and draw histograms with PostgreSQL.
-- Functions to create and draw histograms with PostgreSQL.
-- psql> select * from show_histogram((select histogram(length(email), 0, 32, 6) FROM auth_user limit 100));
-- bucket | range | count | bar | cumbar | cumsum | cumpct
-- --------+-------------------------------------+-------+--------------------------------+--------------------------------+--------+------------------------
-- 0 | [0,5.33333333333333) | 1 | | | 1 | 0.00273224043715846995
-- 1 | [5.33333333333333,10.6666666666667) | 5 | = | | 6 | 0.01639344262295081967
-- 2 | [10.6666666666667,16) | 149 | ============================== | ============= | 155 | 0.42349726775956284153
-- 3 | [16,21.3333333333333) | 145 | =========
@wboykinm
wboykinm / README.md
Last active August 9, 2022 02:27 — forked from tmcw/README.md
{
"Arial Unicode MS": [
"Arial Unicode MS Regular",
"Arial Unicode MS Bold"
],
"Brokenscript OT": [
"Brokenscript OT Bold",
"Brokenscript OT Cond Bold"
],
"Brokenscript Rough OT": [
@wboykinm
wboykinm / .block
Last active February 25, 2021 01:51 — forked from michellechandra/README.md
Modular US State Choropleth
license: MIT
@wboykinm
wboykinm / README.md
Last active November 12, 2020 02:09 — forked from nkelner/README.md
A simple vector map of Vermont's Counties.
@wboykinm
wboykinm / README.md
Last active April 6, 2020 23:31 — forked from simzou/README.md
US Map of Nielsen Media Markets
<html>
<head>
<title>Deckgl RGB PointCloud + Mapbox</title>
<script src="https://unpkg.com/deck.gl@^7.0.0/dist.min.js"></script>
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.js"></script>
<link rel="stylesheet" type="text/css" href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.54.0/mapbox-gl.css">
<style>
body {
background-color: #000000;
margin: 0;
@wboykinm
wboykinm / .block
Created June 21, 2016 14:52 — forked from rveciana/.block
Path in a map, animated with scroll
scrolling: yes
@wboykinm
wboykinm / .block
Last active December 14, 2018 15:43 — forked from basilesimon/.block
(Simpler) sankey Diagram with v4
license: mit
@wboykinm
wboykinm / .block
Created April 5, 2018 19:35 — forked from Fil/.block
annotate a map [UNLISTED]
license: mit