|
|
@ -1,4 +1,4 @@ |
|
|
|
<!DOCTYPE html> |
|
|
|
<!DOCTYPE html> |
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
|
|
<head> |
|
|
|
<head> |
|
|
|
<title>c3ext</title> |
|
|
|
<title>c3ext</title> |
|
|
@ -7,7 +7,7 @@ |
|
|
|
<link href="/css/c3.css" rel="stylesheet" /> |
|
|
|
<link href="/css/c3.css" rel="stylesheet" /> |
|
|
|
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> |
|
|
|
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> |
|
|
|
<script src="https://rawgithub.com/brandonaaron/jquery-mousewheel/master/jquery.mousewheel.min.js"></script> |
|
|
|
<script src="https://rawgithub.com/brandonaaron/jquery-mousewheel/master/jquery.mousewheel.min.js"></script> |
|
|
|
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> |
|
|
|
<script src="http://d3js.org/d3.v4.min.js" charset="utf-8"></script> |
|
|
|
<script src="/js/c3.js"></script> |
|
|
|
<script src="/js/c3.js"></script> |
|
|
|
<script src="/js/extensions/c3ext.js"></script> |
|
|
|
<script src="/js/extensions/c3ext.js"></script> |
|
|
|
<script src="/js/samples/zoom_reduction.js"></script> |
|
|
|
<script src="/js/samples/zoom_reduction.js"></script> |
|
|
@ -18,7 +18,7 @@ |
|
|
|
<h2>Hackathon May 2014</h2> |
|
|
|
<h2>Hackathon May 2014</h2> |
|
|
|
<h4>By Dan-el Khen</h4> |
|
|
|
<h4>By Dan-el Khen</h4> |
|
|
|
<p>Rendering graphs in the browser has many advantages, the downside is that takes a long time to render when having large datasets. </p> |
|
|
|
<p>Rendering graphs in the browser has many advantages, the downside is that takes a long time to render when having large datasets. </p> |
|
|
|
<p>This feature allows you reduces the dataset according to your current zoom level. |
|
|
|
<p>This feature allows you reduces the dataset according to your current zoom level. |
|
|
|
It allows the developer to implement the reduction algorithm in a simple function that accepts an array of values, and returns a reduced single value. |
|
|
|
It allows the developer to implement the reduction algorithm in a simple function that accepts an array of values, and returns a reduced single value. |
|
|
|
The default reducer will take the first item, but avg/sum/first/last or any other algorithm is simple to implement. |
|
|
|
The default reducer will take the first item, but avg/sum/first/last or any other algorithm is simple to implement. |
|
|
|
</p> |
|
|
|
</p> |
|
|
|