/infographicsSVG

Simple function written in JavaScript to create SVG images with research data.

Primary LanguageHTML

infographicsSVG

Simple function written in JavaScript to create SVG images with research data. Useful for creating infographics.

How to create

Add /lib/infographicsSVG.js and then call doGraph function with this sintax:

doGraph(number of lines, itens per column, array with integer percentage and color, type - box, humans, circle, destination tag id).

See graph.html for examples.

Todo

  • Implement float percentage
  • Implement more types of SVG images
  • Clean and improve code quality (it's just a begining)