You can go to the blockbuilder and to fork this block and create your own visualizations. Check out the Vega website for more information, tutorials, and documentation. This example uses Vega-Embed. Happy hacking!
Also, check out the Vega-Lite version.
Hi, @domoritz! Really liked your tutorial. It helped me get the grasp of a lot of concepts even being that simple.
When I was toying with the spec I noticed one issue:
In the
"update"
set of the text, there's this condition:The issue is that
datum === tooltip
is nevertrue
. So after a bunch of searching I changed the condition to this...And it worked!
I did not fully understand what input datum is referencing. I started to think it was the text mark itself, but I'm new to Vega. So... I don't know yet, but I would like to :)
Sorry if this is the wrong place to report this issue, I was not sure if it would be better to report it here or in the Vega repo.