Skip to content

Graph is loading fine, but gives console error #351

Open
@hemant-info2016

Description

@hemant-info2016

Describe the bug
I have used the exact same sample which is mentioned here (with same graph data):
https://www.npmjs.com/package/react-d3-graph#usage-sample

And graph loads perfectly fine, but it shows error in console in Chrome browser:
react-dom.development.js:2320 Error: attribute d: Expected number, "MNaN,NaNA0,0 0 0,…"

Following are the current package version:
"d3": "^5.16.0",
"react": "16.12.0",
"react-d3-graph": "^2.5.0",
"react-dom": "16.12.0",

Note: I have installed d3 first and then react-d3-graph as suggested.
Please help!!

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions