I tried this c3.js code from jsfiddle (https://jsfiddle.net/varunoberoi/mcd6ucge) but it doesn\'t seem to work in my localhost.
I\'m using uniserver as my server. I
The issue is the version of C3 you're using doesn't support the version you're using:
D3 ver | requires C3 ver 3.x | 0.4 4.x | 0.5 5.x | 0.6
Simply make sure you're using the correct version of C3 and you should not see this error.