"data" outside top-level specification
See original GitHub issueIf I load local data on the top-level of a spec it works fine, but if “data” appears somewhere else it doesn’t work. For example this works
{
"$schema": "https://vega.github.io/schema/vega-lite/v3.json",
"data": {
"url": "myfile.csv"
},
"Rest of specification"
}
While this doesn’t
{
"$schema": "https://vega.github.io/schema/vega-lite/v3.json",
"layer": [
{
"data": {
"url": "myfile.csv"
},
"Rest of specification"
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Temporary Specification for gTLD Registration Data - ICANN
This Temporary Specification for gTLD Registration Data (Temporary Specification) establishes temporary requirements to allow ICANN and gTLD registry ...
Read more >Rule Specification Properties - Informatica Documentation
To test a rule specification or a rule set, enter sample data to the fields in the test area. You can cut, copy,...
Read more >Hypervisor Specifications | Microsoft Learn
The Hyper-V Hypervisor Top-Level Functional Specification (TLFS) describes the hypervisor's externally visible behavior to other operating ...
Read more >draft-ietf-justfont-toplevel-05 - IETF Datatracker
This top-level type indicates that the content specifies font data. Under this top-level type, different representation formats of fonts may be registered.
Read more >ISO/IEC 21838-1:2021 - Information technology — Top-level ...
This document specifies required characteristics of a domain-neutral top-level ontology (TLO) that can be used in tandem with domain ontologies at lower ...
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 FreeTop 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
Top GitHub Comments
Hey there, after quite some delay I just wanted to say thank you! Both locally hosted data and “layered” data work like a charm!
@Corvince this should now work for all local/relative data references in vega spec. I am aware of.
Please review this patch update code here if you’d like: https://github.com/RandomFractals/vscode-vega-viewer/commit/8d49d4e309892a0aea9b19379dec9ae99b0ec591#diff-5c245625569aa17bdc70402dfc2e4504
and let me know if there are any other edge cases I’ve missed for this feature request.