Kratu is an Open Source client-side analysis framework to create simple yet powerful renditions of data. It allows you to dynamically adjust your view of the data to highlight issues, opportunities and correlations in the data.
Kratu is a Sanskrit word and means enlightenment, understanding and intelligence.
It can compare similar objects by calculating individual scores for all the features we care about. Each feature is highlighted according to their score, rendering a prioritized heatmap where the objects of most significance float to the top.
Have a look at our tutorial and dive straight into the deep end, or read on for a more gentle introduction.
You can use Kratu to analyze data for support queue prioritization, account quality optimization, performance analysis, product comparison and much more.
Simply download Kratu and extract, or check out the repository:
$ git clone https://github.com/google/kratu.git
Note: If you're running Kratu locally, you might have to start your browser with a flag to allow local file loading. If you're using Chrome, use --allow-file-access-from-files
If you want to see more of what Kratu can do, have a look at the examples included.
Otherwise, here's a quick look at how to render a simple report
// Instantiate a new Kratu object
var kratu = new Kratu();
// Set the data we'd like to render
kratu.setEntities(data);
// Tell Kratu where to render our report
kratu.setRenderElement( document.getElementById('kratuReport') );
// And render it!
kratu.renderReport();
To get a better understanding of what Kratu has to offer, go through this in-depth tutorial, where we'll build a product comparison analysis that can help users figure out which spaceship to buy.
Pull requests are very much appreciated. Please sign the Google Code contributor license agreement (There is a convenient online form) before submitting.
- Author
- Tarjei Vassbotn (Google Inc.)
- Copyright
- Copyright © 2013 Google, Inc.
- License
- Apache 2.0
- Limitations
- Only tested on the latest versions of browsers. Expect it to fail on older versions.