Simple function written in JavaScript to create SVG images with research data. Useful for creating infographics.
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.
- Implement float percentage
- Implement more types of SVG images
- Clean and improve code quality (it's just a begining)