datavisyn / tdp_core

Target Discovery Platform Core
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

Bar charts for numeric columns #634

Open dg-datavisyn opened 2 years ago

dg-datavisyn commented 2 years ago

As a user, I want to be able to plot distributions of numerical columns as a bar chart / histogram.

image.png

Allow numerical columns here as well and rename the field to :thinking: don't know.

dvzacharycutler commented 2 years ago

Would the group/multiples/other bar settings still be applicable to a histogram?

Without thinking too hard it seems like only multiples/direction settings apply, which would make me prefer to create a separate "Histogram" Visualization type? This would also simplify the implementation code wise

dg-datavisyn commented 2 years ago

🤔 At a first glance, I'd agree, that a histogram doesn't need any grouping. Unlike bar charts, it's not showing counts or aggregations, but frequency distributions of a numeric parameter. So a histogram is different from a bar chart.

But on the other hand: Does plotly really care? Why is it more difficult?