Generating SVG Legend? #869
Answered
by
Fil
rpivovar-godaddy
asked this question in
Q&A
-
If we want to generate a legend that is also a part of the SVG (as opposed to HTML wrapping the SVG), would we have to manually do this, like with several Plot.bars and Plot.texts, for instance? |
Beta Was this translation helpful? Give feedback.
Answered by
Fil
May 12, 2022
Replies: 1 comment
-
There are many ways to do this, see https://observablehq.com/@fil/plot-a-legend-embedded-in-a-chart for a (not so good) example. Doing generic page layout in svg is a bit of a challenge. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Fil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are many ways to do this, see https://observablehq.com/@fil/plot-a-legend-embedded-in-a-chart for a (not so good) example. Doing generic page layout in svg is a bit of a challenge.