Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created on 01-07-2016 05:37 AM - edited 08-19-2019 05:18 AM
i want visualize hive table data into d3.js ,i dont know how to connect d3.js and hive table , any one help me and also if u know any opensource visualzeation tools inform me
Created 01-07-2016 06:40 AM
If you are ok with existing JS based tools to visualize Hive data, you can check the Hive view and Zeppelin which use javascript libraries to visualize data in Hive. Both of these are available in Hortonworks sandbox
Hive view:
https://community.hortonworks.com/content/kbentry/...
http://hortonworks.com/blog/improving-operations-w...
Zeppelin:
http://hortonworks.com/hadoop/zeppelin/
https://community.hortonworks.com/content/kbentry/...
However if you are interested in implementing it yourself, you can check some of the examples mentioned here:
https://groups.google.com/forum/#!topic/d3-js/aRKF...
https://github.com/dp1140a/HDP-Viz (screenshots available here)
Created 01-07-2016 06:40 AM
If you are ok with existing JS based tools to visualize Hive data, you can check the Hive view and Zeppelin which use javascript libraries to visualize data in Hive. Both of these are available in Hortonworks sandbox
Hive view:
https://community.hortonworks.com/content/kbentry/...
http://hortonworks.com/blog/improving-operations-w...
Zeppelin:
http://hortonworks.com/hadoop/zeppelin/
https://community.hortonworks.com/content/kbentry/...
However if you are interested in implementing it yourself, you can check some of the examples mentioned here:
https://groups.google.com/forum/#!topic/d3-js/aRKF...
https://github.com/dp1140a/HDP-Viz (screenshots available here)
Created 01-07-2016 12:57 PM
Found this easy example http://stackoverflow.com/questions/17716386/any-on...
Use Hive Query like
SELECT b.blogID, count(b.name) FROM comments a LATERAL VIEW json_tuple(a.value, 'blogID', 'name') b AS blogID, name group by b.blogID;
and make as Json_tuple then you can easly use That json to D3js
Created 01-07-2016 10:26 PM
Could you clarify your question @sivasaravanakumar k - do you want to build an application using d3 or just use d3 for ad hoc data visualization?
Created 01-25-2016 07:49 AM
@Paul Boali just want d3 for ad hoc data visualization