Pivot Axis Plotly is possible?

Good afternoon everyone,

I would like to know if in plotly it is possible to create a density graph that populates at the x,y points informed the sum of a specific column of the dataframe for these coordinates and that divides the axis numerically and categorically as you can see in the image the example taken from the tableau .
I tried several forms of scatter that I found here on the forum and on the internet, none of them looks like the image.