I’m trying to make a bar chart, and I feel like I’m close, but I want essentially a mix between the two in this codepen example:
I want the axis info and ticks like I have in the lower chart, but with bars in the upper one. A bar per month that shows the volume of that month. Is that possible, and what am I missing?
I’ve been trying all day and I hate to ask for help, but it sure would be appreciated. Thank you for reading!
Thank you for looking!
I’ve added your suggestion to my codepen, but it still doesn’t work. I’ve actually tried the interval option (on both barY and rectY marks) but it seems not to do what I want (. Am I forgetting to load a specific library?
If I add the interval line to the BarY marked plot (the upper one in the codepen), I get this, it seems to apply the interval on the wrong axis perhaps?
I don’t understand what is going wrong for me, I’ve applied the same things as you (copied it to my context) but I don’t get it working. I’ve copied what you’ve done to a fork of my original codepen. Am I using the wrong versions of the library?
Thank you so much for your help (both of you), and all the effort you’ve done for me! As you can tell, I could really use the help. I’ll be sure to study your solution Mike to make sure I learn from it.
Is there a way I can compensate you for your time? I’d love to make a donation on your behalf, or mail you some of our famous stroopwafels (Dutch cookies)! (Feel free to mail an address to email@example.com )