Fork me on GitHub
#reveal
<
2022-08-09
>
comptedeouf22:08:18

Is there a limit (32 entries) on how big a hash-map can be visualized as a bar-chart/pier-chart ? From the contextual menu on the following map I can select the view:bar-chart

(->> (for [a (range 32)
          :let [k (str (char (+ 65 (mod a 26))) a)]]
      [k a])
     flatten
    (apply hash-map)
     tap>)
not possible with 33 elements
(->> (for [a (range 33)
          :let [k (str (char (+ 65 (mod a 26))) a)]]
      [k a])
     flatten
    (apply hash-map)
     tap>)

vlaaad06:08:27

Yes, there is a limit, I think the reasoning was that too many data points will be incomprehensible

vlaaad06:08:06

Do you need a higher limit? I think I can bump it

comptedeouf21:08:00

if the limit could be a dynamic var, I could adjust it when needed, but no big deal, thanks for checking.