Skip to content

Instantly share code, notes, and snippets.

View widged's full-sized avatar

Marielle Lange widged

View GitHub Profile
@widged
widged / Agist.txt
Last active August 29, 2015 13:55 — forked from widged/Agist.txt
== Plant Explorer in Neo4j
:neo4j-version: 2.0.0
:author: Marielle Lange
:twitter: @widged
:tags: gardening
The goal is to explore how graphgist can be used to feed data to d3js visualisations. Vegetable data have been obtained through the scrapping of various websites. They have been normalized to bring to a common scale data on different measurement units or dates from different hemispheres. Then they have been reduced, to binify any continuous data.
To avoid to overtax the console, only one plant is loaded in this example ("anise").
@widged
widged / README.md
Last active December 15, 2015 08:59 — forked from mbostock/.block

Negative Bar graph transposed from horizontal to vertical

@widged
widged / d3.phylogram.js
Last active December 14, 2015 21:19 — forked from kueda/d3.phylogram.js
d3.phylogram.js, stackoverflow answer
/*
d3.phylogram.js
Wrapper around a d3-based phylogram (tree where branch lengths are scaled)
Also includes a radial dendrogram visualization (branch lengths not scaled)
along with some helper methods for building angled-branch trees.
d3.phylogram.build(selector, nodes, options)
Creates a phylogram.
Arguments:
selector: selector of an element that will contain the SVG
@widged
widged / Installing R on dreamhost
Created August 4, 2011 02:01 — forked from leoniedu/Installing R on dreamhost
Installing R on dreamhost
## First do the unix account setup http://wiki.dreamhost.com/Unix_account_setup
cd ${HOME}
# create the first level directories (and log/setup)
mkdir -pv soft run www log log/setup backup data
# create the second level directories within run (our own FHS)
for subdir in bin etc include lib man share
do
mkdir -pv run/${subdir}
done
# symlink so that man pages stay all in the same place