Skip to content

Convert JSON representation of a linechart to SVG.

Notifications You must be signed in to change notification settings

oliverpaadik/json2svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JSON2SVG

This script helps to convert JSON representation of a linechart to SVG format. Currently only supports JSON where the x/y values are assigned to keys 't' (time) and 'v' (value) as this was originally written to convert Glassnode Studio's charts (but is easily modifiable).

Guide

  1. Clone the project
  2. Install Python
  3. Install the dependencies from the project folder: pip install -r requirements.txt
  4. Run the script: python json2svg.py pathToJson
    • use -d parameter to turn on debugging log level: python json2svg.py pathToFile -d
    • use -h parameter to show help
  5. ???
  6. Success!

About

Convert JSON representation of a linechart to SVG.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages