V
V
Verstatel30002019-07-29 16:04:17
React
Verstatel3000, 2019-07-29 16:04:17

How to use vanilla graph in react?

Good afternoon!
there is such chart
https://bl.ocks.org/willzjc/a11626a31c65ba5d319fcf... i
want to use it in my react project, how can i do it?
I will be extremely grateful for a working example on a conditional codepen

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Suntsev, 2019-07-29
@Verstatel3000

My advice is to find something newer, now there are many similar tools in react.
If this is what you need, then there are several options.
1) Make a separate non-react page and wedge it through an iframe.
2) Make a react component by moving the rendering logic into it, and connect the loadable libraries separately.
The second option is better, but longer, the first one is faster.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question