Is it possible to load csv data to nvd3 library?

前端 未结 3 375
野趣味
野趣味 2021-01-14 08:38

I\'m new on nvd3 after testing the D3js the last week. I\'d like to load data from .csv file with nvd3, that I did on D3 but I\'m not able to do it with nvd

3条回答
  •  有刺的猬
    2021-01-14 09:18

    I've looked into a few nvd3 charts at work.

    Basically I convert my CSV into a JSON structure so it could be passed into the structure required by the nvd3 libraries.

    I may be wrong, but you could always tinker around the code as you need it, to fit your purpose.

提交回复
热议问题