CartoDB / airship

A design library for building Location Intelligence applications.
https://carto.com/developers/airship/
BSD 3-Clause "New" or "Revised" License
75 stars 14 forks source link

Global histogram support on VL Bridge #573

Closed rjimenezda closed 5 years ago

rjimenezda commented 5 years ago

This adds support for the global histogram on the VL bridge for numerical histograms.

There's a new totals argument you can provide.

In order for this to work properly, you either have to specify the buckets yourself, or the viewportHistogram will wait for the globalHistogram to be ready, and get the bucket list from there.

This is because in order to represent them both on the same x-axis, the buckets must be the exact same.

rjimenezda commented 5 years ago

I'm including a VL compilation for the examples until the new version is pushed to the CDN <3, hence the + 49k lines