Accepted answer

Given your date key/value pair...

date: "2014"

... your specifier is incorrect. It should be:


Here is the updated plunker:

PS: You don't even need to parse the dates. Since your y scale uses a categorical variable, just use the dates as they are right now, that is, simple strings.

Related Query

More Query from same tag