The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hey there
I am attempting to create an SVG that simply has an Icon and some text next to it.
Ive been able to get this to work in a simple online SVG editor with the following code:
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 80'>
<image height='8' width='8' href='https://s2.coinmarketcap.com/static/img/coins/64x64/1.png'> </image>
<text x='9' y='6.5' style='font:normal 7px sans-serif;' fill='Blue'>- AAVE</text>
</svg>
Which shows -
Any ideas?
No SRC or HREFs allowed - you need to embed the image data in the dataset.
Sorry - what do you mean?
Thank you thats great. I am wondering though how i would read the contents of not a file, but a URL pointing to an image?
you ingest that data in the Power Query part. Call Web.Contents on the uRl and store the result in Base64.
I was able to do that, but unable to add that into an existing SVG. Is it possible to get the SVG code from a URL pointing to an SVG?