I'm new to d3 charts, i want to use x-axis as string and my app throws Error: Invalid value for <text> attribute x="NaN"
error.
This is my sample JSON
[
{"key" : "test1", "values" : [["test1", 3]},
{"key" : "test2", "values" : [["test2", 5]},
{"key" : "test3", "values" : [["test3", 9]}
];
So , How to pass x-axis value as string