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

后端 未结 6 541
隐瞒了意图╮
隐瞒了意图╮ 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 03:58

    AFAIK there aren't any libraries that allow javascript to connect to a MySQL database directly. Instead consider exposing your data via a web service (using any number of server side technologies: ASP.Net, PHP, Ruby on Rails etc) and serialise your data to JSON in the response

提交回复
热议问题