malloy
malloy copied to clipboard
Column chart should have count on y-axis, bar chart should use x-axis.
What happens?
When you're measuring something with a group_by, the count is using the x-axis for the column chart - which makes it difficult to read. Folks are more used the count being the y-axis. Lets swap this around.
To Reproduce
simple query, like this, puts the number of homes on the x-axis, instead of the y-axis. note: column charts are currently named bar_chart. we need to fix that as well.
bar_chart
query: bathrooms is { aggregate: homes group_by: baths order_by: baths
OS:
MacOS
Malloy Client:
VSCode
Malloy Client Version:
v0.3.1695314318
Database Connection:
DuckDB