Name: Visualizations
Owner: Observational Health Data Sciences and Informatics
Description: [Under development] Visualizations is a collection of JavaScript modules to support D3 visualizations in web-based applications
Created: 2014-12-03 20:43:51.0
Updated: 2017-12-15 17:07:16.0
Pushed: 2017-12-05 16:16:57.0
Homepage: null
Size: 145
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
[Under development] Visualizations is a collection of JavaScript modules to support D3 visualizations in web-based applications
Clone a copy of the main repo by running:
clone git://github.com/ohdsi/vizualizations
Point a local HTTP server to the root of the repository (IIS, Node Express, etc)
Open a browser to the examples under the /examples folder.
The examples are configured using RequireJS and reference CDN hosted libraries for D3, jQuery and others. To run the examples, just open one of the examples, set braekpoints and edit-reload to see changes.
There are no development dependencies required for updating code, although npm is used to version and publish the package.
In order to minify/optimize the javascript libarry, you will need to perform an npm install:
install
The package.json file contans scripts to build the files. To run the build scripts, execute:
run build
This will build and minify the library. To files will be generated in dist: atlascharts.js and atlascharts.min.js. The min.js file is the concatinated libary that has been run throguh the google closure compiler.
After new commits are added to master, and the libary is ready for a new version to be published to the NPM registry, the following commands will increment the version and publish to the NPM registry:
version [{verson number} | major | minor | patch] # use major or minor based on the type of change for this relase.
publish --access public # this is a scoped package to @ohdsi and therefore must specify that this should publish public.
The following plots are supported by the visualization library: