question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New example from Vega 5.9 not appearing in editor

See original GitHub issue

This example from the documentation: https://vega.github.io/vega/examples/annual-precipitation/

Is not loading in the editor (neither in Chrome nor Safari) https://vega.github.io/editor/#/examples/vega/annual-precipitation image

It refers to unavailable data sources here: https://vega.github.io/data/annual-precip.json and https://vega.github.io/data/world-110m.json. Adding a vega before the /data work make the file loads, but chart is still not appearing.

I see an error in the console window: ERROR TypeError: t is not a function. (In 't()', 't' is undefined) referring to this line https://github.com/vega/vega/blob/master/packages/vega-projection/src/projections.js#L57. Not sure if that is related.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
domoritzcommented, Dec 13, 2019

Thanks for the fix. I updated all projections and made a release. It should work in a few minutes.

0reactions
mattijncommented, Dec 13, 2019

Got it. I can reproduce the behaviour from the editor in the notebook. It’s because the naturalEarth1 projection is loaded twice and then causing conflicts. Once part of the Vega-projections and once in the extended projections. Removing them from the extended-projections list solves the issue.

PR incoming

Read more comments on GitHub >

github_iconTop Results From Across the Web

Signals | Vega
Signals are dynamic variables that parameterize a visualization and can drive interactive behaviors. Signals can be used throughout a Vega specification, for ...
Read more >
Building Power BI Custom Visuals with Vega - YouTube
Power BI has inbuilt R and Python functionality, which allows creators to write their own code using an embedded editor. This is a...
Read more >
Deneb: Bringing the Vega Languages to Power BI ... - YouTube
Vega and Vega -Lite are "visualization grammars" developed by the ... showing you how to get started, and creating some simple examples.
Read more >
Operating Instructions - VEGA
shall not be reproduced in whole or in part, in any form, without the expressed ... The gauge uses VEGA's GEN2000®, VEGA's newest...
Read more >
vega-datasets | Yarn - Package Manager
Common repository for example datasets used by Vega related projects. Keep changes to this repository minimal as other projects (Vega, Vega Editor, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found