Skip to content
/ graph.js Public

A simple javascript library for inserting static graphs into your site

Notifications You must be signed in to change notification settings

bmboi/graph.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Graph.js

Graph.js is a JavaScript Library that allows you to statically add data displays to your webpages. You can use the following:

  • bar graph
  • Pie chart
  • Line graph
  • Scatter plot
  • Area chart

Usage

The following are examples for using graph.js:

Bar graph, line graph, pie chart, area chart

var data = [10, 20, 30, 40, 50, 30, 50, 12, 35]; GraphRenderer.BarGraph("canvasID", data);

Scatter plot

js var Data = [ { x: 0, y: 0}, { x: 10, y: 20 }, { x: 20, y: 30 }, { x: 30, y: 40 }, { x: 40, y: 50 }, { x: 50, y: 60 } ]; GraphRenderer.ScatterPlot("CanvasID", Data);

About

A simple javascript library for inserting static graphs into your site

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published