wikimedia / vegalite-wordpress-plugin

4 stars 2 forks source link

Spike: Support geographic charts #39

Open kadamwhite opened 10 months ago

kadamwhite commented 10 months ago

It is possible to render a map in Vega using geoJSON, and to overlay data points on top of that map. Example: earthquake data example in vega-lite documentation

image

(This example uses Mike Bostock's MIT-licensed topojson data, derived from Natual Earth's free-use map vector set.)

We have experimented in the past with providing mouse and touch controls to be able to intuitively rotate a globe visualization rendered in this way, but even without that degree of interactivity, this visualization approach would greatly expand what can be created out of the box with this plugin.

Goal: Provide an MVP of a chart type based on geoJSON data.