It looks that all examples on https://vega.github.io/vega/examples/ , docs on https://vega.github.io/vega/docs/ etc. are now using Vega 5.0 while the extension still requires 2.0 specs which is a limitation and complicates things a lot for people trying to use Graphs along other things.
== Implementation strategy
[] {T260542}
[] {T335051}
[] {T223026}
- Handle new Vega 5.0+ graphs. Note that Vega 5.0+ should be loadable in parallel with Vega 2.0. Thus, it should be possible to have both versions simultaneously.
[] {T335048}
[] Write a tool for users to update the graph syntax from version 2.0 to 5.0.
[] Make sure the visual editor uses the new syntax
P.S. This could be a good student project. @yurik will be happy to mentor. (added by Yurik)
----
- A proposal to work on this came 49th in the [[ https://meta.wikimedia.org/wiki/Community_Wishlist_Survey_2023/Multimedia_and_Commons/Update_Vega_to_the_latest_build | 2023 Community Wishlist Survey ]]