Hi all,
I have a very basic and I think stupid question.
I’m doing the first steps in observablehq and vega-lite.
I have forked a choropleth map notebook, and I have edit it a little:
I have changed the source data file
the former one does not have the state name
I have set the state name as tooltip.
How can I concatenate two fields name and delta and use the output as tooltip?
It doesn’t look easy to me from reading the docs. Because they are objects being parsed to the tooltip each key-value pair is displayed in its own row.
Arrays will be shown in line, but I don’t know how it convert from the two objects into and array.