by sdegutis · 10y ago · 0 comments
You can't do this with raw d3. With d3, you are responsible for drawing and spacing your bars, creating your axes, etc.
This is intentional, of course. d3 aims to give a set of building blocks that you can be used to create any possible visualization you can think of. It's not aiming to be a high-level graphing library with a limited set of pre-built graphs. But those libraries fill a perfectly valid need as well.
D3 does provide quite a lot of out of the box. But if you find yourself outside that box it might be worth doing it yourself.
I fully appreciate nvd3, which can be used to quickly make pretty charts like these http://charts.bitcointicker.co/