Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading data for bar chart visualization #1168

Closed
AdMSilvan opened this issue Sep 8, 2023 · 2 comments
Closed

Error loading data for bar chart visualization #1168

AdMSilvan opened this issue Sep 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working upstream issue An issue related to data integration or API

Comments

@AdMSilvan
Copy link

Describe the bug
When attempting a barchart visualization of a simple datacube, the data does not load and produces an error. The query is able to retrieve the data but it cannot be loaded in the visualization tool (https://s.zazuko.com/qon2Zo)

To Reproduce
Go to https://int.visualize.admin.ch/create/22Sv3bKjVQGL?dataSource=Int

Expected behavior
A bar chart which can either be filtered by revenue type or represented as a segmented bar chart, stacking the different revenue types

Environment:

@AdMSilvan AdMSilvan added the bug Something isn't working label Sep 8, 2023
@sosiology
Copy link
Contributor

@AdMSilvan thank you for reporting this we will look into it.

Link to example showing error: https://int.visualize.admin.ch/v/zGNXrwP6aWs7?dataSource=Int

image

cc @bprusinowski @adintegra

@bprusinowski
Copy link
Collaborator

Hi @AdMSilvan, it looks like the https://culture.ld.admin.ch/sfa/PolitikfinanzierungParteien2023/einnahmequelle dimension has a langString data type, which Visualize does not support. Would it be possible to change the data type to string? This should fix the issue.

From our side @sosiology, I think we could improve the error message to make it more clear what needs to be done, right now it's not very helpful 👀

Also see #319.

@sosiology sosiology added the upstream issue An issue related to data integration or API label Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream issue An issue related to data integration or API
Projects
None yet
Development

No branches or pull requests

3 participants