portal

2024-02-14T07:48:56.920679Z

I have a weird issue not really that important. Rendering boxplot using vega-lite in portal doesn't work well (Renders as horizontal lines each line represents a data point). Same spec renders well in vega lite editor in chrome. I will provide screenshots if needed when I am at my laptop

djblue 2024-02-14T07:52:11.358629Z

A screenshot and some example data would be great 🙏

2024-02-14T20:59:23.271179Z

2024-02-14T21:00:07.365649Z

2024-02-14T21:01:41.166969Z

my data is just one column called value. I think in the viz above there are around 500 of those data points

djblue 2024-02-14T21:02:24.106149Z

Do you mind posting the specific vega-lite you are generating?

2024-02-14T21:02:46.671619Z

(tap> ^{:portal.viewer/default :portal.viewer/vega-lite}
 {:data {:values (mapv #(hash-map :value (:xirr %)) (concat sim1 sim2 sim3))}
  :mark {:type "boxplot"
         :extent 1.5
         :median {:color "red"}
         :ticks true}
  :encoding {:y {:field "value" :type "quantitative"}}})