Dynamic div height

I would like to link the height of my div-blocks to a value in my collection item.
I tried it with an embed + dynamic field but they all get the same height in stead of their own value…

(I’m an absolute coding noob btw)


Here is my site Read-Only:
https://preview.webflow.com/preview/deconstructed-3e4f37?utm_medium=preview_link&utm_source=designer&utm_content=deconstructed-3e4f37&preview=4ffc9d7c7aa03a489cbc697e9fc825ff&workflow=preview

For a bar chart, the approach you’ve taken looks good.
Simply create the whole DIV, with the height in the style, using a custom embed.

If the DIV needs contents or you are wanting to style it specially in the designer,
There are more involved ways to do this either using CSS or script.