Skip to content

Instantly share code, notes, and snippets.

View ondramie's full-sized avatar

Michal Ondras ondramie

  • Los Angeles, California
View GitHub Profile
@ondramie
ondramie / .block
Last active May 3, 2016 22:23
Box Plot with Axes, Title, Descriptive Text, Mouse-outs, Mouse-ins, and 2-D Array
license: gpl-3.0
@ondramie
ondramie / data.csv
Created March 14, 2016 18:37 — forked from d3noob/.block
Simple d3.js tooltips
date close
1-May-12 58.13
30-Apr-12 53.98
27-Apr-12 67.00
26-Apr-12 89.70
25-Apr-12 99.00
24-Apr-12 130.28
23-Apr-12 166.70
20-Apr-12 234.98
19-Apr-12 345.44
@ondramie
ondramie / .block
Created March 13, 2016 04:47 — forked from mbostock/.block
Bar Chart
license: gpl-3.0
@ondramie
ondramie / README.md
Created March 12, 2016 01:48 — forked from jensgrubert/README.md
D3.js Boxplot with Axes and Labels

A box-and-whisker plot with axes. Based on Mike Bostock's implementation. Instead of using individual svg elements as in Mike's implementation, here all boxplots are rendered with in one root element. This makes it easy to add axes.

Further differences between the two implementations are:

  • visibility of boxplot labels can be switched with the labels variable
  • CSV files are supported in which each column is an independent variable and each row contains measurements for all variables (see data.csv)
  • transitions are not used here but can be easily added again
@ondramie
ondramie / data.csv
Created March 11, 2016 03:25 — forked from d3noob/.block
d3.js Graph with many features
date close
1-May-12 58.13
30-Apr-12 53.98
27-Apr-12 67.00
26-Apr-12 89.70
25-Apr-12 99.00
24-Apr-12 130.28
23-Apr-12 166.70
20-Apr-12 234.98
19-Apr-12 345.44
@ondramie
ondramie / data.csv
Created March 11, 2016 01:12 — forked from d3noob/.block
Simple d3.js Graph
1-May-12 58.13
30-Apr-12 53.98
27-Apr-12 67.00
26-Apr-12 89.70
25-Apr-12 99.00
24-Apr-12 130.28
23-Apr-12 166.70
20-Apr-12 234.98
19-Apr-12 345.44