Observable/Plot: Formatting group transform proportion text

Perhaps, you could change

{ "text": "proportion" }

to

{"text": d => d3.format("0.2f")(d.proportion)}

It’s always easier to formulate a response with a link to the notebook, though.