<commit_before>ccd3
====

Currently this library simplifies the creation of linear gradients for SVG.
The library itself has no external dependencies, but D3 is used in the tests.

API:

Making  SVG Linear Gradient:

Basic vertical gradient:

`var colorStops = ccd3.makeGradientSvgStops(["#0000aa","#000000", "#00aa00"]);`

`var linGrad = linearGradient('my-grad-id', colorStops);`

`ccd3.addDef(linGrad, 'body');`

Creates a linear gradient that is accessible using url('my-grad-id').




<commit_msg>adds travis-ci build status badge to readme<commit_after>ccd3
====

Currently this library simplifies the creation of linear gradients for SVG.
The library itself has no external dependencies, but D3 is used in the tests.

[![Build Status](https://travis-ci.org/forforf/ccd3.png)](https://travis-ci.org/forforf/ccd3)

API:

Making  SVG Linear Gradient:

Basic vertical gradient:

`var colorStops = ccd3.makeGradientSvgStops(["#0000aa","#000000", "#00aa00"]);`

`var linGrad = linearGradient('my-grad-id', colorStops);`

`ccd3.addDef(linGrad, 'body');`

Creates a linear gradient that is accessible using url('my-grad-id').





{'fraction_non_alphanumeric': 0.12843224092116917, 'fraction_numerical': 0.03365810451727192, 'mean_word_length': 5.277777777777778, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2289311', 'n_tokens_mistral': 415, 'n_tokens_neox': 375, 'n_words': 114}