简体   繁体   English

如何简单地绘制JSON数据图?

[英]How can I simply graph JSON data?

I'm working on an application that exposes an API. 我正在开发公开API的应用程序。 In this Rest API, I can retrieve statistics about the application. 在此Rest API中,我可以检索有关应用程序的统计信息。

I'd like a simple way to graph json data results by using a curl command and use of jq. 我想通过使用curl命令和jq来绘制json数据结果图的简单方法。

Is there a library that would help to natively display this data in a graph ? 是否有一个库可以帮助在图表中本地显示这些数据?

There must be a gazillion alternatives, depending on what you mean by "natively", but it might be worth mentioning that Altair is a python package that allows one to specify the data source 必须有数不胜数的替代方案,具体取决于您对“本机”的含义,但值得一提的是Altair是一个python软件包,允许您指定数据源

  • "as a url string pointing to a json or csv formatted text file" “作为指向json或csv格式的文本文件的url字符串”

See https://altair-viz.github.io/user_guide/data.html 参见https://altair-viz.github.io/user_guide/data.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何[简单地]在业务线Web应用程序中使用JSON数据 - How can I [simply] consume JSON Data in a Line of Business Web Application 我如何将JSON数据发布到Facebook GRAPH API - How can i post JSON data to the facebook GRAPH API 我如何才能简单地将以下从资产访问JSON的代码转换为JSON URL解析? - How can i simply convert the following code of accessing the JSON from Assets to JSON URL parsing? 如何使用json数据绘制图形 - how can plot graph using json data 如何解析 C# 中的 JSON 数据,简单地切换到 javascript 是否更有益? - How do I parse this JSON data in C# and would it be more benefical to simply switch over to javascript? 如何让我的脚本可以访问我的 JSON 数据? - How do I simply make my JSON data accessible by my script? 我怎样才能简单地遍历 JSON 与(Google)Javascript 具有多级封装? - How can I simply iterate through JSON that has a multileveled encapsulation with (Google) Javascript? 如何转换Facebook Graph API JSON数据以查找数据库中已存在的用户? - How can I convert Facebooks Graph API JSON data to find a user that already exists in my database? 我如何将JSON数据分组并在D3js中生成每个组的图形 - how can i group JSON data and generate a graph of each group in D3js 如何将外部JSON文件中的数据绘制到chart.js图形中? - How can I plot data from an external JSON file to a chart.js graph?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM