Skip to content

Instantly share code, notes, and snippets.

View cgroll's full-sized avatar

Christian Groll cgroll

View GitHub Profile
@cgroll
cgroll / Readme.md
Created July 2, 2014 18:46
d3 picture

I am trying Gadfly export to bl.ocks.org

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:09
Share Julia graphics on bl.ocks.org

Instructions on how to share a Julia plot on bl.ocks.org

Thumbnail

  • create new gist with subtitle and Readme.md file (Readme.md must not be empty)
  • clone gist to local disk:
    • cd ~/research/githubPages/gist
    • git clone git@gist.github.com:/84faf20bfsd3757133.git
  • modify Readme.md with more detailed instructions
@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Single time series line plot

The following example shows a single line visualization of the GDP of the United States as given by The World Bank.

Thereby, the margin conventions follow the suggestions of Mike Bostock.

You can view a rendered version of this gist at bl.ocks.org.

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Single time series plot with tooltips for data points
@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Single time series plot with missing values

The plot shows a single time series with missing values, where missing values cause line breaks.

You can view a rendered version of this gist at bl.ocks.org.

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Single time series plot with missing values II

The plot shows a single time series with missing values, where missing values do not cause line breaks.

You can view a rendered version of this gist at bl.ocks.org.

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Multi-series line chart with missing values

The plot shows multiple time series with missing values, where missing values should not cause line breaks.

You can view a rendered version of this gist at bl.ocks.org.

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Multi-series line chart with breaks

The plot shows multiple time series with missing values, where missing values are visualized by line breaks.

You can view a rendered version of this gist at bl.ocks.org.

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Multi-line gdp visualization

Visualization of GDP evolution of several countries.

You can view a rendered version of this gist at bl.ocks.org.

The example shows GDP data with breaks for missing values for all countries. For better interaction, the chart is overlaid by an invisible voronoi map, such that you need not necessarily be on the path line itself to highlight it, but only in a close vicinity to some of the data points.

@cgroll
cgroll / Readme.md
Last active August 29, 2015 14:16
Multi-line plot with collapsing to / dismantling from aggregate

The chart shows a multi-line plot that can be collapsed into a single aggregated line.

Mouse interaction is based on invisible thick lines, as the dataset changes through collapsing / dismantling and hence voronoi maps would need to be re-calculated.

You can view a rendered version of this gist at bl.ocks.org.