Skip to content

Instantly share code, notes, and snippets.

View jackparmer's full-sized avatar
🐢

Jack Parmer jackparmer

🐢
View GitHub Profile
####################################
# Golden Spiral Heatmap Demo
# Questions? Email feedback@plot.ly
# For more docs, see plot.ly/api
####################################
from numpy import *
# Golden spiral with fibonacci rectangles
@jackparmer
jackparmer / Heatmap Score Distributions
Last active December 26, 2015 14:29
Score Distribution Statistics: NHL, MLB, NFL, & NBA Made with the Plotly and Sports Database Query Language Python API
<!DOCTYPE html>
<meta charset="utf-8">
<style>
h1, h4{ color: #666; }
h2, h3{ color: #888; }
h1, h2, h3, h4{ font-weight: 100; }
div{ background: #e3e3e3; padding: 10px; padding-left: 70px; margin-bottom: 50px; }
span{ color: #222; }
body{ margin: 0px; }
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jackparmer
jackparmer / LaTeX in Plotly graphs.ipynb
Created January 8, 2014 05:27
LaTeX in Plotly graphs
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jackparmer
jackparmer / plotly_stacked_horizontal_bar_chart_time_series.ipynb
Created February 2, 2014 09:19
Plotly Stacked, Horizontal Bar Chart Time Series
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jackparmer
jackparmer / Stacked, Horizontal Bar Chart.ipynb
Created February 2, 2014 09:25
Stacked, Horizontal Bar Chart Time Series in Plotly
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jackparmer
jackparmer / Stacked, Horizontal Bar Chart Time Series in Plotly
Created February 2, 2014 09:34
Stacked, Horizontal Bar Chart Time Series in Plotly
{
"metadata": {
"name": "Stacked, Horizontal Bar Chart"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<script src="https://raw2.github.com/quizlet/mp3.js/master/mp3.js"></script>
<style type="text/css">
circle {
fill: #000;
Time, Station, Vehicle, Count
2014-01-20 00:00:00-08:00,Embarcadero,Buses,0
2014-01-20 00:00:00-08:00,Embarcadero,Cars,1
2014-01-20 00:00:00-08:00,Embarcadero,Trucks,0
2014-01-20 00:00:00-08:00,Embarcadero,Pedestrians,2
2014-01-20 00:01:00-08:00,Embarcadero,Buses,0
2014-01-20 00:01:00-08:00,Embarcadero,Cars,2
2014-01-20 00:01:00-08:00,Embarcadero,Trucks,0
2014-01-20 00:01:00-08:00,Embarcadero,Pedestrians,1
2014-01-20 00:02:00-08:00,Embarcadero,Buses,0