MarioLuisGarcia
V2EX  ›  问与答

有哪些好用的动态数据图形化解决方案(框架)?

  •  
  •   MarioLuisGarcia · Oct 15, 2015 · 2998 views
    This topic created in 4045 days ago, the information mentioned may be changed or developed.
    后端数据的格式是 JSON 。
    解决方案可以是本地软件,也可以通过浏览器实现。
    综合考虑学习成本,易用性和可扩展性,有哪些可推荐?
    编程语言最好是 python 或 javascript 中的一种,如果方案特别易学好用不受此限制。

    列一个简单需求:
    需要展示 1 个 10X10 的方格地图,后端程序会不断产生新的 JSON 数据,每一个 JSON 数据里包含了当前地图上的各类资源状况,前端需要根据后台生成的数据,动态显示当前地图上的资源状况。
    10 replies  •  2015-10-16 08:04:21 +08:00
    ljdawn
    ljdawn
    Oct 15, 2015
    1
    哈哈哈 后端用 python 前台用 js/
    kokdemo
    kokdemo
    Oct 15, 2015
    2
    你这是要写一个游戏么……
    caomaocao
    caomaocao
    Oct 15, 2015
    3
    d3
    chinajik
    chinajik
    Oct 15, 2015
    4
    meteor pomelo 都是实时数据框架
    learnshare
    learnshare
    Oct 15, 2015
    5
    D3 自己写写吧
    MarioLuisGarcia
    MarioLuisGarcia
    OP
    Oct 15, 2015
    6
    @learnshare 哈哈,我在知乎上也邀请你了。
    learnshare
    learnshare
    Oct 15, 2015
    7
    @MarioLuisGarcia 其实如果只是 10 * 10 的方格,用什么展示方式无所谓( div 都行)。不借助第三方 JS ,自己解析 JSON 也可以
    MarioLuisGarcia
    MarioLuisGarcia
    OP
    Oct 15, 2015
    8
    @learnshare 有一种笨方法是根据状态打印点,但是这样会打印很多图出来,而不是一个动态的图。 javascript 我得现学。
    learnshare
    learnshare
    Oct 15, 2015❤️1
    9
    @MarioLuisGarcia Ajax 的速度可能不够快,得考虑用 Socket 传数据,这样会有比较好的连续性
    xyok
    xyok
    Oct 16, 2015 via Smartisan T1
    10
    openlayer ,是要这种东西吗
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2423 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 11:03 · PVG 19:03 · LAX 03:03 · JFK 06:03
    ♥ Do have faith in what you're doing.