How to create stacked bar chart for use in Dataview Table

What I’m trying to do

I am trying to create a stacked bar chart similar to the github languages bar

Things I have tried

I’ve tried creating some manual html and inline styles which I’ve fed into the dv.table() function but it doesn’t seem to respect flexbox? I’ve also tried using the charts plugin but the stacked option on bar charts doesn’t seem to do anything. Also the progress html5 tag only accepts a single value so that’s a dead end. Any ideas? I think the manual html seems most promising but I’m struggling to nail it.