So I can do this:
{% for x in data %}
{{ x.label }}: {{ x.value }}<br />
{% endfor %}
But I want to do this kind of thing to get one specific value:
{{ data['label' }}
I can't see how to do it, but it must be possible.
http://twig.sensiolabs.org/doc/functions/attribute.html
{{ attribute(data,'label') }}