How to pull data from mysql database and visualize with D3.JS?

后端 未结 6 602
隐瞒了意图╮
隐瞒了意图╮ 2021-02-02 03:16

I have a database in MySQL which I want to visualize in D3.JS. In order to do that, first I want to parse the data in JSON fo

6条回答
  •  生来不讨喜
    2021-02-02 04:13

    Short answer: Web Service.

    Basically, you'd want to make a web service that will return json data (for instance) to connect to d3.json() calls.

    I would recommend you to use Python to quickly do something extending SimpleHTTPServer, or go with a web service framework such as web2py.

提交回复
热议问题