Some Numeric Fields Sort Alphabetically
birm opened this issue · 0 comments
In BAR_CHART for the fields in https://pathdb.cancerimagingarchive.net/eaglescope/dist/?configurl=%2Fsystem%2Ffiles%2Fcollectionmetadata%2F202208%2Fcptac_metadata_page_0.json&filterState=%5B%7B%22id%22%3A%22Tumor%22%2C%22title%22%3A%22Tumor%22%2C%22field%22%3A%22Tumor%22%2C%22operation%22%3A%22eq%22%2C%22values%22%3A%22GBM%22%7D%2C%7B%22id%22%3A%22Genomics_Available%22%2C%22title%22%3A%22Has+Genomics%22%2C%22field%22%3A%22Genomics_Available%22%2C%22operation%22%3A%22eq%22%2C%22values%22%3A%22Available%22%7D%2C%7B%22id%22%3A%22Age%22%2C%22title%22%3A%22Age%22%2C%22field%22%3A%22Age%22%2C%22operation%22%3A%22eq%22%2C%22values%22%3A%2250-60%22%7D%5D, the x axis is alphabetical rather than numerical.
I think this is expected, as a bar chart is for categorical data as we do it, but we should have an option to use it this way (or automatically detect if all/most labels are numeric)