Re:A Tiny Grammar of Graphics
by lostdog on Tuesday June 14, 2022 @11:54PM
(#31748945)
I also find that writing SVG directly is easiest.
There are a few primitives that d3 uses, and once you implement those you can produce easy SVG results. `Scale` is the most important, for mapping your x,y plane into SVG pixel coordinates. Then some of the ticks helpers can be handy too.
Writing the SVG directly is just the fastest way to get what you need.
There are a few primitives that d3 uses, and once you implement those you can produce easy SVG results. `Scale` is the most important, for mapping your x,y plane into SVG pixel coordinates. Then some of the ticks helpers can be handy too.
Writing the SVG directly is just the fastest way to get what you need.