Json2Plot
This is an interactive example using json2plot.js that allows to easily create plots from json data by combining
JMESPath
queries and
Plotly
. Source code on
Github
This is a pure client-side page, no data is send to any server.
Json data:
[{"year":2010,"price":50},{"year": 2011,"price":58},{"year": 2012,"price":63},{"year": 2013,"price":61}]
Plotly with JMESPaths:
{ "data":[{ "x": "$[*].year", "y": "$[*].price", "mode": "lines+markers" }], "layout":{} }