Permalink
Browse files

merge

  • Loading branch information...
root root
root authored and root committed May 28, 2013
1 parent 63e7821 commit 69ca547adb44e971b130b1b87486e4854e31139c
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -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 not shown.
View
@@ -0,0 +1,2 @@
hGraph
======
@@ -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');
}
Oops, something went wrong.

0 comments on commit 69ca547

Please sign in to comment.