Will Dash work with Plotly & Squarify Treemaps?

Quick question.

Does Dash work with Plotly & Squarify Treemaps?
https://plot.ly/python/treemaps/

Also, any idea when there will be an stable version of interactive tables?

Thanks!

Yes. Anything in the plot.ly/python docs can be rendered in Dash using the dcc.Graph component. They use the same underlying library.

Great! Thanks Chris.

I’m also attempting to use squarify to plot a treemap, but I’m not sure of how to go about implementing squarify.plot within the dcc.Graph component.

I have my data frame, with my themeCount and themes lists:

df = pd.DataFrame({'counts' : themeCounts, 'themes' : themes })

and i then have my plot:

squarify.plot(sizes = df['counts'], label = df['themes'], alpha=.8 )
plt.axis('off')
plt.show()

but i’m unsure of how to actually format this within dcc.Graph(). Any tips?

Thank you!

Quick question.

Does Dash work with Plotly & Squarify Treemaps?

@vincitygialam - Here’s the thread on treemaps