Project to visualize batlog data
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
example-data
images
src
.csslintrc
.gitignore
GruntFile.js
LICENSE.md
README.md
bower.json
index.html
package.json

README.md

batlog2-d3-chart

Visualize batlog data using the d3.js library.

Demo

Skip to the demo page for a demonstration of this project. You can use your own data file, or example data.

The result should look something like this:

example graph

Requirements

  • A batlog CSV file (alternatively, you can convert a batlog dat file using the batlog2csv script).
  • A modern browser that supports drag & drop and SVG.

Usage

Load the index.html page (or use the demo page) and drop the batlog CSV file into the designated area. A graph of your data will be drawn.

Depending on the size of your log file, system configuration and browser, this can take a while.

Building yourself

Node.js

In order to build this project's CSS and JavaScript files, you'll need to have node.js installed on your machine.

Dependencies

Once you've installed node.js, browse to the project's root directory and run the following command to install all dependencies:

npm install

Grunt

Now you're ready to build! This project uses Grunt to run all its tasks. There are a few tasks defined in the GruntFile.js task definition file, but there is an alias task available called default that runs all necessary tasks in the correct order (from the project's root directory again):

grunt default

This will compile and minify all files and put the results in the build directory.

License

Apache License, Version 2.0, see LICENSE.md.