Skip to content
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.

cid-harvard/vis-toolkit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
css
 
 
 
 
js
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vis-toolkit

Usage

Simply add the vistk JavaScript and CSS files as below:

<link href="vistk.css" rel="stylesheet">
<script src="vistk.js"></script>

You can directly link to Github pages:

<link href="https://cid-harvard.github.io/vis-toolkit/css.vistk.css" rel="stylesheet">
<script src="https://cid-harvard.github.io/vis-toolkit/build/vistk.js"></script>

Installation

  • Install project dependencies with npm install
  • Build latest version using grunt and watch changes with grunt watch (combine both) grunt && grunt watch
  • The latest build should be available in build/vistk.js

Dependencies

  • D3 version 3.5.10 (not tested with other versions, but no reason why not)
  • Eventually some topojson.js, queue.js dependencies for the geo-map as well as world shape files
  • Metadata (e.g. [product space] nodes and links) have to be loaded externally and and are available in the vis-toolkit-datasets repository

JavaScript

The code is organized as follows:

├── build
├── css
├── examples
├── js
├── scripts
├── src
├── tests
├── src/js
│   
│   ├── css
│   ├── data
│   ├── example
│   ├── img
│   ├── js
│   ├── script
│   ├── shapef
│   ├── src
│   └── test