You can draw multiple charts using one result via bokeh, this is a tutorial I wrote recently. Hope it is useful for you.
https://www.zepl.com/viewer/notebooks/bm90ZTovL3pqZmZkdS90ZXN0L2VhMGI0ODQ0MzNhYjQxNjZhODg5MjI1ZjAxZWVjMjdiL25vdGUuanNvbg arpit tak <arpit....@gmail.com>于2017年7月4日周二 下午7:36写道: > Hello , > I was using zeppelin to draw some charts , but I was unable to do these > two things. > Have anybody done this before, please let me know. > > 1.) Can I draw more than one charts/reports using just single complex > query(mysql/hive) ? or we can integrate any library to support this use > case . > > 2.) Can I draw more than one chart or paragraph using one result set. > for example:- > * select col1, col2, col3 , col4 from table 1 ; * > A chart is plotted using above result set. > > -Can I again reuse this to do aggregation *(select sum(col1+col2) > from table1)* without re-writing the query again and plot second chart > on it. > - or Can club both output in single report. > > Can we achieve this with zeppelin. Has anybody done this kind of > report/analysis before or how we can achieve it . > Please let me know . > > -- > Regards, > Arpit > >