Summary Charts
Here we'll talk about how to plot some summary chart types in DEX using dx
.
Setup
We will be using our own built-in DataFrame generation function for these visualizations. The values you see may be different if you run the same code in a cell, but the column structure should be very similar (if not identical).
The Customized examples with more options do not necessarily represent "good" data visualization; they are just a glimpse into what settings are available to compare against the Simple examples.
Big Number
Coming soon!
Boxplot
Coming soon!
Dimension Matrix
Coming soon!
Heatmap
Coming soon!
Hexbin
Coming soon!
Histogram
Coming soon!
Horizon
Coming soon!
Ridgeline
Coming soon!
Violin
Simple
Make sure you enable dx
as a pandas plotting backend first.
df.plot.violin()
directly
Customized
dx.violin(
df,
split_by='keyword_column',
metric='integer_column',
bins=5,
show_interquartile_range=True,
column_sort_order='desc',
)
Make sure you enable dx
as a pandas plotting backend first.
df.plot(
kind='violin',
split_by='keyword_column',
metric='integer_column',
bins=5,
show_interquartile_range=True,
column_sort_order='desc',
)
df.plot.violin()
directly