Open tiernanmartin opened 7 years ago
Useful example of integrating sparkline
into a DT
table: https://github.com/htmlwidgets/sparkline/issues/22#issuecomment-259748269
Another instructive example: http://leonawicz.github.io/HtmlWidgetExamples/ex_dt_sparkline.html
did you ever get this working? would love to see.
@timelyportfolio unfortunately not.
@tim-salabim suggested embedding the widget in an iframe using mapview::popupGraph()
.
This works but it is only suitable for a small number of features.
BTW - nice work with the htmlwidget × datatable pattern 🎉
Neat way of implementing this: http://bl.ocks.org/timelyportfolio/33db1fb9e64257ef7149754bdff0b2e0
This would demand that more of the KC assessor data be processed, but would provide a clearer picture of the changes in assessed value.
The idea is to have the normal popup table (preferably using
DT
) with sparkline visualizations included for each record:This:
With this data:
See https://github.com/htmlwidgets/sparkline