Skip to content

Instantly share code, notes, and snippets.

View wrobstory's full-sized avatar

Rob Story wrobstory

View GitHub Profile
@wrobstory
wrobstory / alltheimports.py
Created April 20, 2014 01:46
Import Import Import Import
import bearcart
import bokeh
import bokeh.plotting as bp
from bokeh.plotting import output_notebook
import pandas as pd
import matplotlib.pyplot as plt
import mpld3
import numpy as np
import vincent
import ggplot as gg
@wrobstory
wrobstory / gist:10951143
Created April 17, 2014 03:34
Vincent, Seaborn, mpld3, Bokeh, ggplot in the IPython notebook dep list
(.env)Rob@rmbp ~/src/pydatasv2014 (master) $ pip freeze
Flask==0.10.1
Jinja2==2.7.2
Markdown==2.4
MarkupSafe==0.19
PyYAML==3.11
Pygments==1.6
Sphinx==1.2.2
Werkzeug==0.9.4
backports.ssl-match-hostname==3.4.0.2
@wrobstory
wrobstory / README.md
Last active December 29, 2015 06:39
D3 Brush and Tooltip IV

Example for Cooperative Brushing and Tooltips in D3.

Note that the brush layer lives behind the data points, and therefore a brush cannot be started on the data point itself, only in the background layer.

@wrobstory
wrobstory / README.md
Last active December 29, 2015 06:39
D3 Brush and Tooltip III

Example for Cooperative Brushing and Tooltips in D3.

Note that the brush layer is appended after the data, and therefore mouseover events do not trigger the tooltip. Only when you start brushing do the tooltips appear.

@wrobstory
wrobstory / README.md
Last active December 29, 2015 06:39
D3 Tooltips
@wrobstory
wrobstory / README.md
Last active December 29, 2015 06:38
D3 Brush and Tooltip II
@wrobstory
wrobstory / README.md
Last active December 29, 2015 06:38
D3 Brush and Tooltip I
@wrobstory
wrobstory / README.md
Last active November 16, 2024 13:38
D3 Brush and Tooltip Complete

Example for Cooperative Brushing and Tooltips in D3.

The completed chart, with both tooltips and brushing working cooperatively. You can start a brush-zoom on either the background or a data point.

@wrobstory
wrobstory / README.md
Last active December 18, 2015 13:59
Stack Overflow McFlyin + Bearcart

This visualization was created by calling the McFlyin API with the Stack Overflow data from the examples folder, then calling Bearcart on it. See the Python file in the Gist for the code.

@wrobstory
wrobstory / README.md
Last active May 1, 2020 02:31
Choropleth with Vincent

Demonstration of binding Vincent graphs to individual GeoJSON data.