Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed May 28, 2013
1 parent 63e7821 commit 69ca547
Show file tree
Hide file tree
Showing 22 changed files with 12,176 additions and 0 deletions.
746 changes: 746 additions & 0 deletions HealthGraph.js

Large diffs are not rendered by default.

56 changes: 56 additions & 0 deletions README.md
@@ -0,0 +1,56 @@
hGraph
========

An open source javascript-based web application for visualizing health data.

###About the REPO###

The hGraph is an open source project that is being developed and designed to provide an industry standard of presenting health care information to professionals and average citizens alike.


###Dependencies###

The `HGraph` class relies on [d3.js](http://d3js.org/), which is a very popular javascript library for manipulating SVG, specficically for graphs and data plotting.

Once you have downloaded the latest version, you will need to include in in your html above the `HealthGraph` source code:

<script src="/path/to/your/d3.js" type="text/javascript"></script>
<script src="/path/to/your/HealthGraph.js" type="text/javascript"></script>

###Setup###

During a `window.onload` or similar entry point, the health graph is constructed and intialized by:

var graph;
window.onload = function(){

graph = new HGraph({
container : document.getElementById("graph_container"),
userdata : {
overallScore : 90,
factors :
[
{
label : 'Family History',
score : 80,
},
{
label : 'Caloric Intake',
score : 100
}
]
};
});

graph.initialize();

}


###Example site###

To see a live demo, please visit: [hgraph.org](http://hgraph.org/)

###License###

The `HGraph` class is licensed under the Apache-2.0 open source license. You can find more information on the Apache-2.0 license at [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)
Binary file added docs/hgraph_design_walkthrough.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions hGraphApp/README.md
@@ -0,0 +1,2 @@
hGraph
======
12 changes: 12 additions & 0 deletions hGraphApp/css/droidsans.css
@@ -0,0 +1,12 @@
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 400;
src: local('Droid Sans'), local('DroidSans'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/s-BiyweUPV0v-yRb-cjciC3USBnSvpkopQaUR-2r7iU.ttf) format('truetype');
}
@font-face {
font-family: 'Droid Sans';
font-style: normal;
font-weight: 700;
src: local('Droid Sans Bold'), local('DroidSans-Bold'), url(http://themes.googleusercontent.com/static/fonts/droidsans/v3/EFpQQyG9GqCrobXxL-KRMfEr6Hm6RMS0v1dtXsGir4g.ttf) format('truetype');
}

0 comments on commit 69ca547

Please sign in to comment.