Closed espinielli closed 9 years ago
Current Vega-lite is still using Vega 1 but the Vega online editor is now using Vega 2.
We plan to finish the migration in about 2 months.
The editor for Vega 1.5 is at https://trifacta.github.io/vega/editor/ and the spec you generated works. As @kanitw said, we are working on the upgrade.
@domoritz Thanks for mentioning that.
@espinielli -- I'll close this issue then. (We already have a vega-lite issue for migrating to vega2.)
Here is my work scenario:
define custom csv data in Polestar:
properly define marks & co. to get a visualization:
click the debug tool link to get access to the vega-lite and vega specs Vega spec is as follows
paste the vega spec in the on-line UI (I chose SVG as renderer but Canvas fails as well) and press
Format
thenParse
. I do not get any visualization and in the Javascript console I get:My aim is to get a starting point for a runtime visualization. With
IFR_YY.csv
with the contents above (not yet done)index.html
spec.json
with the vega spec as aboveThe error I see in the Javascript console is the following (I do not use a separate CSV file but just the spec as above):
Note: I tried to lint the schema/spec here and got signalled about a problem on the data field.