robert-haas / gravis

Interactive graph visualizations with Python and HTML/CSS/JS.
https://robert-haas.github.io/gravis-docs/
Other
100 stars 7 forks source link

D3 symbols #2

Open elymatos opened 2 years ago

elymatos commented 2 years ago

D3 has a set of symbols beyond the basic (circle, rectangle, hexagon). Is it possible to add a option to use these extra symbols? Thanks, Ely

MrTomKimber commented 6 months ago

If you draft a simple SVG image, and use the gravis.convert.image_to_data_url("yourshape.svg") you can achieve much the same result, but you don't get to set the colour from the metadata.