mhkeller / vega-lite-api-examples

A repository containing Vega-Lite-API implementations of all of the examples in the Vega-Lite gallery. Work in progress and contributors welcome!
6 stars 2 forks source link

How to define a projection? #8

Open mhkeller opened 11 months ago

mhkeller commented 11 months ago

I was working on point_angle_windvector and I am getting an error that there's no top-level .projection method. Here are the docs for setting a projection but it's not clear how to set this on the chart spec itself.

mhkeller commented 11 months ago

The error seems to be that vl.projection doesn't return an object with a markPoint, or any other top-level vl method.