As the title suggests, I am a complete novice to Observable. I have a notebook where in I have imported a CSV file and I suppose what I need to do now, is start displaying that information in a graphical way.
Hi @rynsp8 , and welcome! I think the long and short is that you can do anything you’d like! Plot is a charting library backed by D3.js much of the same ilk as other charting tools you get with, e.g. Python or even Excel. There are other options beside Observable Plot (which is really powerful), and depending on your customary tools we can offer more recommendations. The best way to start an open discussion like this is to share a notebook of your progress and to describe your problem and desired results. In that vein, is there more you can share? This community offers a lot of help!
Hi @rynsp8 - and this is a great way to share! Only thing is that for us to see, you need to publish (terminology for the ‘next’ interface) or link share (classic interface) so that we can see and explore. Currently that link appears to be private.
I believe I shared out with you to have a look. I have a few data objects, CryptoSpend, rawData, and fullFile. For some reason, the fullFile isn’t fetching, but it was yesterday.
I think for my immediate purposes, rawData is what I need to work with. Essentially, I would like to create a plot difference chart showing the difference of spending between financial quarters going back to 2017 to current.
It does, however, due to the positioning of the text, it moves ALL the text up or down at the same time. So, those totals at the bottom will move up into the bar itself, while those on the top will be positioned correctly, and vise versa.
Note that the adjustment has to be defined relative to your y-axis scale, not in pixels, hence why I’m adjusting by 50,000 in either direction. I had thought maybe there would be a way to pass a function as dy instead, so you could define the adjustment in pixels, but I seem to get an error when I try doing that. Maybe someone better versed in Plot (@mbostock?) can clarify if that’s expected behavior.