Example of my current table is here
I hve problem with rendering bar charts in the cells. Can someone help?
Please describe the issue more.
If it’s the emoji flags then umm @mbostock notebook is also not displaying the ISO_3166_country_codes.
I’m not talking about emoji flags, I mean that bars in cells themselves looks like they lost range of the scale in columns Total_Score and FS_Score (((
Your scores are strings, so d3.max returns the “highest” string by lexicographic order. You’ll have to either cast your CSV data to numbers, or convert them inside your d3.max callbacks, e.g.:
// Note the "+"
Total_Score: sparkbar(d3.max(ts, d => +d.Total_Score)),
2 Likes