Two options: Use shapes or use marker chart, In fact, reviewing the example you send, it is not a chart itself, but rather it uses a function that draws circular shapes, You would just have to adapt it to work with Plotly shapes, so add coconut
I made a bubble chart but it uses a marker chart.