Hi,
I prefer to use name/value pairs for data, as it's self-documenting and easier to debug. Especially when using categories.
However, I can't get your heatmap codepen demo to work when I change the data to this format utilizing the category values:
Test 1: { name: "Alexander", y: "Monday", value: 10 },
This doesn't work either:
Test 2: { x: "Alexander", y: "Monday", value: 10 },
This does work, however, it's not any better than standard data format, because it doesn't utilize the category values:
Test 3: { x: 0, y: 0, value: 10 },
This pen has the 'Test 3' format enabled. Comment that out, then uncomment the 'Test 1' or ''Test 2' format:
https://codepen.io/meerkat00/pen/GRYVQqo
What am I doing wrong, or is there an issue with the heatmap's support for name/value pairs with categories?
Thanks in advance.