✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Is it possible to add MS Excel-like mini chart in dash datatable?

Hi everyone, I am a beginner.
After following the dash tutorial, I find that Dash data_table doesn’t support the MS Excel-like mini chart in data_table. It seems that data_table property ‘data’ can not be a dcc.Graph. Is that true? THX.

That is true. Your best bet for now would be:

  1. Use html.Table which can have any components as children
  2. Display your graphs above the dash_table.DataTable columns
  3. Use sparklines Sparklines as Fonts! Embedding Minimal Sparklines in Tables & Components
  4. Check out the conditional formatting options for heatmaps embedded in cells: https://dash.plotly.com/datatable/conditional-formatting

got it, thanks a lot.