<commit_before>d3po
====

Yet another Javascript library for making d3 charts. After playing with
[nvd3](http://nvd3.org) I found it wasn't quite as usable as I would like,
e.g. it wasn't very easy to add both points and lines to the same chart.
This library works as follows:

   var chart = d3po.chart();
   chart.lines([{x:[0,1,2,3,4,5],y:[3,2,5,1,2,4],color:'blue'}])
   chart.points([{x:0,y:3.1,size:3,color:'blue'},{x:0.5,y:2.5,size:5,color:'red'}])
   chart.show();

I wanted a charting library that 'just works', like those you find in R or python.
Flexible where it needs to be, unobtrusive API that is amenable to embedding
in other settings (e.g. [IPython notebook](http://ipython.org/notebook.html)).

Dependencies
------------

[jQuery](http://jquery.com) and [d3](http://d3js.org).

Work in progress
----------------

Still lots of features to implement:

    - erm, basic plotting functionality...
    - custom tool tips, with embeddable charts in them
    - chart controls (e.g. generic search, toggling of different series, et c)
<commit_msg>code blocks in markdown use 4 spaces<commit_after>d3po
====

Yet another Javascript library for making d3 charts. After playing with
[nvd3](http://nvd3.org) I found it wasn't quite as usable as I would like,
e.g. it wasn't very easy to add both points and lines to the same chart.
This library works as follows:

    var chart = d3po.chart();
    chart.lines([{x:[0,1,2,3,4,5],y:[3,2,5,1,2,4],color:'blue'}])
    chart.points([{x:0,y:3.1,size:3,color:'blue'},{x:0.5,y:2.5,size:5,color:'red'}])
    chart.show();

I wanted a charting library that 'just works', like those you find in R or python.
Flexible where it needs to be, unobtrusive API that is amenable to embedding
in other settings (e.g. [IPython notebook](http://ipython.org/notebook.html)).

Dependencies
------------

[jQuery](http://jquery.com) and [d3](http://d3js.org).

Work in progress
----------------

Still lots of features to implement:

    - erm, basic plotting functionality...
    - custom tool tips, with embeddable charts in them
    - chart controls (e.g. generic search, toggling of different series, et c)

{'fraction_non_alphanumeric': 0.15944055944055943, 'fraction_numerical': 0.026573426573426574, 'mean_word_length': 3.634989200863931, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '432765', 'n_tokens_mistral': 735, 'n_tokens_neox': 705, 'n_words': 248}