c3 icon indicating copy to clipboard operation
c3 copied to clipboard

Histogram charts

Open jdittrich opened this issue 12 years ago • 11 comments

Use Case: To show the relative distribution of values I would like to display my data in an histogram chart

While a histogram chart looks just like a bar chart, raw data can’t be just used to display an histogram of this data – so called »binning« must take place before (answering the question »how is it different from a regular bar-chart« in #586) .

(I tried to just use the d3.layout.histogram() to do these calculations before using a simple c3 bar chart, but I was unsuccessful with this approach)

jdittrich avatar Nov 22 '14 13:11 jdittrich

I think this kind of feature is required actually, sot I'll implement this in v0.5. Please give me some time. #16

masayuki0812 avatar Nov 27 '14 23:11 masayuki0812

:+1: I would also love to have this one available! Does it make sense to allow pre-binned data as well as raw data? In my use case Spark is already computing the bins on the cluster and I just want to visualize the results.

FRosner avatar Feb 20 '15 13:02 FRosner

:+1:

yordis avatar Jun 06 '15 18:06 yordis

@yordis I have a histogram function available in https://github.com/FRosner/spawncamping-dds/ now. It is more like a front-end specifically built for Spark.

https://github.com/FRosner/spawncamping-dds/blob/master/src/main/resources/ui/app/Histogram.js

FRosner avatar Jun 06 '15 21:06 FRosner

:+1:

k010 avatar Jul 30 '15 18:07 k010

:+1:

sambao21 avatar Sep 21 '15 16:09 sambao21

:+1:

ericmillsio avatar Dec 11 '15 18:12 ericmillsio

:+1:

Gerrrr avatar Dec 11 '15 23:12 Gerrrr

👍

ingvar-lynn avatar Dec 19 '16 18:12 ingvar-lynn

Binning is definitely a required feature for a charting library. Any updates on support for this?

boompig avatar Jun 13 '18 01:06 boompig

Just wanted to comment that there is still a need for proper histogram support.

dmills1723 avatar Aug 12 '19 21:08 dmills1723