uber/react-vis

MarkSeries size scaling issue

ashishvarman opened this issue · 1 comments

Hi
I am trying to plot some stock data but on using trading volume as bubble size, the bubble sizes become distorted.

Example is at https://codesandbox.io/s/charming-kirch-n1gj1

On inspecting, bubble sizes are much larger than the sizeRange maximum and some bubbles even have negative radii!
I can plot the same data with Excel and LibreOffice Calc without any problem so my hunch is that the problem lies with MarkSeries itself.
Also, using some other data like close as bubble size plots correctly so something in this data set triggers this behavior.

Thanks in advance for any pointers.

NVM - found that values were being passed as text instead of numbers. Converting to numbers solved the issue.