using attributes to hold metadata instead of parent.env
cont reworking scatterbar