unencoded text mark replicated for every data point (terrible svg performance when font is large)
See original GitHub issuehttps://vega.github.io/editor/#/gist/15dbd1f394ce904f1285bf93a4b00968/spec.json
shouldn’t a text mark with no encoding only have a single copy?
also wondered whether it would help to expose svg’s text-rendering options optimizeSpeed | optimizeLegibility | geometricPrecision
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-rendering
Issue Analytics
- State:
- Created 3 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Allow spec without data source · Issue #6157 · vega/vega-lite · GitHub
domoritz mentioned this issue on Oct 27, 2020. unencoded text mark replicated for every data point (terrible svg performance when font is large)...
Read more >Which SVG technique performs best for way too many icons?
I won't be comparing performance of SVG to other image or bundles formats. ... In this technique, the actual visual data of each...
Read more >Using SVG | CSS-Tricks
SVG is an image format for vector graphics. It literally means Scalable Vector Graphics. Basically, what you work with in Adobe Illustrator.
Read more >Icon Font vs. SVG caching and network concern - Stack Overflow
Only one HTTP request and content is referenced. But: Bad markup, bigger file than the SVGs. SVG Sprites. I could use a SVG...
Read more >CSS Text Module Level 4 - W3C
Abstract. This CSS module defines properties for text manipulation and specifies their processing model. It covers line breaking, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

]So you are suggesting that if we didn’t have an encoding at all (no
encodingproperty directly or through a parent view), then the default data should benull. I think that makes sense and we can do that as part of #6157.Yes, I hadn’t explicitly thought about inherited data/encoding but that makes sense