C3: Histogram charts

Created on 22 Nov 2014  ·  11Comments  ·  Source: c3js/c3

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)

C-feature-request

Most helpful comment

:+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.

All 11 comments

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

:+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.

:+1:

@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

:+1:

:+1:

:+1:

:+1:

👍

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

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

Was this page helpful?
0 / 5 - 0 ratings