SlideShare a Scribd company logo
1 of 15
Qlik Sense Extension
Hexagonal Binning
23rd September 2015
Brian Booden
Agenda
• Introduction
• Motivation
• D3.js – Finding examples and tutorials
• Find some collaborators
• Make it happen
• D3 Conversion and selections
• Colour and Area Binning
• Support for 10k+ Points
• The Lasso and Hexagonal Shaped Problems
• Other Features
• Demo
• Promote and share
1
Introduction
• Supervising Qlik Architect @ Cooper Software
• Certified QlikView Designer, Developer, Administrator
• 7 years Qlik experience, 15 years in IT
• 3 time presenter at Qonnections
• Email: brian.booden@gmail.com
• Twitter: @brian_booden
• LinkedIn: uk.linkedin.com/in/qlikviewifsexpert
Motivation
• MedAir International
• Crisis Response
• Ebola Outbreak – Sierra Leone
• Teamed with Patric and Johan from
Idevio
• 8 teams
• Winners – Axis Group
• 2nd Place – Luminaries (Seebach,
Becher, Burel)
• Learned a lot about APIs for Qlik
Sense
• Made me want to learn more!
D3.js – Examples and Tutorials
• Find a visualisation
• http://d3js.org/
• https://github.com/mbostock/
d3/wiki/Gallery
• Harness existing code
• Convert from D3 to Sense –
Tutorial
• http://blog.axc.net/tutorial-
how-to-build-a-qlik-sense-
extension-with-d3/
Find collaborators
• TIQ Solutions
• Blog: http://irregular-bi.tumblr.com/
• Twitter: @irregularbi
• Qlik Luminary
• QlikView and Sense extensions
• Dependency Wheel
• 2 Dimensional Heatmap
5
Ralf Becher Speros Kokenes
• Axis Group
• Blog: http://blog.axc.net/
• Twitter: @sperosck
• Qonnections Hackathon winner
• SenseUtils.js and Lasso.js
• QlikView and Sense extensions
• D3 Visualization Library
D3 Conversion and selections
• Finding a code example
• “Borrow” the CSS
• Create the appropriate SVGs to make visible in Sense
• Use an example static dataset (usually in the example)
• Use Speros’ great D3 conversion tutorial as a guide
• Get it on GitHub!
• Then, add selections…
• Hook up the equivalent “click” event
• Use selectValues to make the selections
6
The results of your work….
• How it feels when you make your first selection using
your extension:
7
Colour and Area Binning
• 2 Ways to denote density of points in hexagons
• Colour
• Size (Area)
• Colour
• Transpose standard Qlik Sense colour scales
• Diverging, Sequential
• Blues, Reds, Greens
• Size
• Choose maximum and minimum hex size
• Potential to add a 3rd Measure to colour sized hex based on
a separate measure
8
Support for 10k+ Points
• Natural limit for extensions = 10k points
• Solution = Speros SenseUtils.js library
• pageExtensionData : function(me, $el, layout,
callback)
• Creates datapages containing max 10,000 points
• Uses flattenPages : function(data) to extend dataset into array
• Call from inside paint function to initiate the callback function
and create matrix of the entire 10k+ dataset
9
The Lasso and hexagonal shaped problems!
• Using Speros’ awesome lasso.js….
• Can we lasso from inside the bins? We can now!
• .attr("class", "lassoable")
• var lasso_area = d3.select("#"+id).selectAll(".lassoable");
10
The red ‘Hit’ zone
Hex layer sits on top
of ‘Hit’ zone
Full ‘Hit’ zone achieved
by attaching “lassoable” class
Other Features
• Sense-like styling (CSS)
• SVG Issues
• AngularJS solution
• Multiple Properties and options
• Binning Mode (Colour or Area)
• Colour range
• Colour Expression (Sequential, Diverging etc)
• Max Radius
• Fill Mesh
• Title & Static Layout
• Center Hexagons
11
Demo
• Let’s see it, then…..
Branch, LinkedIn and Twitter
• Get your extension out there!
• Use as many avenues as possible
• Branch, LinkedIn, Twitter, Blogs
• People will use your extension, if you promote it!
Download & Questions
• Download Hexagonal Binning for Qlik Sense at Qlik
Branch
• http://branch.qlik.com/projects/showthread.php?351-Hexagonal-Binning
Questions?

More Related Content

Viewers also liked

Qlik sense- Technical Seminar
Qlik sense- Technical SeminarQlik sense- Technical Seminar
Qlik sense- Technical SeminarSanjana Gondane
 
Top 100 HR Influencers To Follow On Twitter
Top 100 HR Influencers To Follow On TwitterTop 100 HR Influencers To Follow On Twitter
Top 100 HR Influencers To Follow On TwitterWittyParrot
 
Official Carlos Reid Biography
Official Carlos Reid BiographyOfficial Carlos Reid Biography
Official Carlos Reid BiographyDr. Carlos G. Reid
 
Qlik Sense dashboard. Chapter 2. Advanced Training
Qlik Sense dashboard. Chapter 2. Advanced TrainingQlik Sense dashboard. Chapter 2. Advanced Training
Qlik Sense dashboard. Chapter 2. Advanced TrainingMind Analytics
 
Primer método de coaching para traders a través de Jose Luis Cases Lozano
Primer método de coaching para traders a través de Jose Luis Cases LozanoPrimer método de coaching para traders a través de Jose Luis Cases Lozano
Primer método de coaching para traders a través de Jose Luis Cases LozanoPullback.es
 
Qlik Sense Dashboard. Get started.
Qlik Sense Dashboard. Get started.Qlik Sense Dashboard. Get started.
Qlik Sense Dashboard. Get started.Mind Analytics
 
Qlik Sense for Beginners - www.techstuffy.com - QlikView Next Generation
Qlik Sense for Beginners - www.techstuffy.com - QlikView Next GenerationQlik Sense for Beginners - www.techstuffy.com - QlikView Next Generation
Qlik Sense for Beginners - www.techstuffy.com - QlikView Next GenerationPractical QlikView
 
A Synopsis Of Qlik Sense Software
A Synopsis Of Qlik Sense SoftwareA Synopsis Of Qlik Sense Software
A Synopsis Of Qlik Sense SoftwareInside Info Pty Ltd
 

Viewers also liked (9)

Qlik sense- Technical Seminar
Qlik sense- Technical SeminarQlik sense- Technical Seminar
Qlik sense- Technical Seminar
 
Top 100 HR Influencers To Follow On Twitter
Top 100 HR Influencers To Follow On TwitterTop 100 HR Influencers To Follow On Twitter
Top 100 HR Influencers To Follow On Twitter
 
Official Carlos Reid Biography
Official Carlos Reid BiographyOfficial Carlos Reid Biography
Official Carlos Reid Biography
 
Qlik Sense dashboard. Chapter 2. Advanced Training
Qlik Sense dashboard. Chapter 2. Advanced TrainingQlik Sense dashboard. Chapter 2. Advanced Training
Qlik Sense dashboard. Chapter 2. Advanced Training
 
Primer método de coaching para traders a través de Jose Luis Cases Lozano
Primer método de coaching para traders a través de Jose Luis Cases LozanoPrimer método de coaching para traders a través de Jose Luis Cases Lozano
Primer método de coaching para traders a través de Jose Luis Cases Lozano
 
Qlik Sense Dashboard. Get started.
Qlik Sense Dashboard. Get started.Qlik Sense Dashboard. Get started.
Qlik Sense Dashboard. Get started.
 
Qlik Sense for Beginners - www.techstuffy.com - QlikView Next Generation
Qlik Sense for Beginners - www.techstuffy.com - QlikView Next GenerationQlik Sense for Beginners - www.techstuffy.com - QlikView Next Generation
Qlik Sense for Beginners - www.techstuffy.com - QlikView Next Generation
 
QlikView vs Qlik Sense
QlikView vs Qlik SenseQlikView vs Qlik Sense
QlikView vs Qlik Sense
 
A Synopsis Of Qlik Sense Software
A Synopsis Of Qlik Sense SoftwareA Synopsis Of Qlik Sense Software
A Synopsis Of Qlik Sense Software
 

Similar to Qlik Dev Group - Hexagonal Binning

Web based interactive big data visualization
Web based interactive big data visualizationWeb based interactive big data visualization
Web based interactive big data visualizationWenli Zhang
 
SQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLIT
SQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLITSQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLIT
SQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLITchaitalidarode1
 
Reveal's Advanced Analytics: Using R & Python
Reveal's Advanced Analytics: Using R & PythonReveal's Advanced Analytics: Using R & Python
Reveal's Advanced Analytics: Using R & PythonPoojitha B
 
Machine Learning with Azure
Machine Learning with AzureMachine Learning with Azure
Machine Learning with AzureBarbara Fusinska
 
Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15
Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15
Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15MLconf
 
Text Mining & Sentiment Analysis with Power BI & Azure
Text Mining & Sentiment Analysis with Power BI & AzureText Mining & Sentiment Analysis with Power BI & Azure
Text Mining & Sentiment Analysis with Power BI & AzureSanil Mhatre
 
Final presentation (21/05) for user interfaces
Final presentation (21/05) for user interfacesFinal presentation (21/05) for user interfaces
Final presentation (21/05) for user interfacesGert Vanwijn
 
How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...Petter Skodvin-Hvammen
 
Building a Flexible UI with Oracle ApEx
Building a Flexible UI with Oracle ApExBuilding a Flexible UI with Oracle ApEx
Building a Flexible UI with Oracle ApExBradley Brown
 
Become a Better Data Analyst with Tableau - DenmarkTUG
Become a Better Data Analyst with Tableau - DenmarkTUGBecome a Better Data Analyst with Tableau - DenmarkTUG
Become a Better Data Analyst with Tableau - DenmarkTUGSarah Bartlett
 
Machine Learning Vs. Deep Learning – An Example Implementation
Machine Learning Vs. Deep Learning – An Example ImplementationMachine Learning Vs. Deep Learning – An Example Implementation
Machine Learning Vs. Deep Learning – An Example ImplementationSynerzip
 
Getting Started with BigQuery ML
Getting Started with BigQuery MLGetting Started with BigQuery ML
Getting Started with BigQuery MLDan Sullivan, Ph.D.
 
李俊良/Feature Engineering in Machine Learning
李俊良/Feature Engineering in Machine Learning李俊良/Feature Engineering in Machine Learning
李俊良/Feature Engineering in Machine Learning台灣資料科學年會
 
Dojo Grids in XPages
Dojo Grids in XPagesDojo Grids in XPages
Dojo Grids in XPagesTeamstudio
 
From Developer to Data Scientist
From Developer to Data ScientistFrom Developer to Data Scientist
From Developer to Data ScientistGaines Kergosien
 
Managing a digital project
Managing a digital projectManaging a digital project
Managing a digital projectHelen Webster
 
Web Engineering at UCL
Web Engineering at UCLWeb Engineering at UCL
Web Engineering at UCLIan Sillitoe
 
Migrating from matlab to python
Migrating from matlab to pythonMigrating from matlab to python
Migrating from matlab to pythonActiveState
 
Advanced Schema Design Patterns
Advanced Schema Design PatternsAdvanced Schema Design Patterns
Advanced Schema Design PatternsMongoDB
 
Web design training , Web Design Training In Kolkata
Web design training , Web Design Training In KolkataWeb design training , Web Design Training In Kolkata
Web design training , Web Design Training In KolkataW3webschool
 

Similar to Qlik Dev Group - Hexagonal Binning (20)

Web based interactive big data visualization
Web based interactive big data visualizationWeb based interactive big data visualization
Web based interactive big data visualization
 
SQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLIT
SQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLITSQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLIT
SQL SCIPY STREAMLIT_Introduction to the basic of SQL SCIPY STREAMLIT
 
Reveal's Advanced Analytics: Using R & Python
Reveal's Advanced Analytics: Using R & PythonReveal's Advanced Analytics: Using R & Python
Reveal's Advanced Analytics: Using R & Python
 
Machine Learning with Azure
Machine Learning with AzureMachine Learning with Azure
Machine Learning with Azure
 
Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15
Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15
Misha Bilenko, Principal Researcher, Microsoft at MLconf SEA - 5/01/15
 
Text Mining & Sentiment Analysis with Power BI & Azure
Text Mining & Sentiment Analysis with Power BI & AzureText Mining & Sentiment Analysis with Power BI & Azure
Text Mining & Sentiment Analysis with Power BI & Azure
 
Final presentation (21/05) for user interfaces
Final presentation (21/05) for user interfacesFinal presentation (21/05) for user interfaces
Final presentation (21/05) for user interfaces
 
How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...How did it go? The first large enterprise search project in Europe using Shar...
How did it go? The first large enterprise search project in Europe using Shar...
 
Building a Flexible UI with Oracle ApEx
Building a Flexible UI with Oracle ApExBuilding a Flexible UI with Oracle ApEx
Building a Flexible UI with Oracle ApEx
 
Become a Better Data Analyst with Tableau - DenmarkTUG
Become a Better Data Analyst with Tableau - DenmarkTUGBecome a Better Data Analyst with Tableau - DenmarkTUG
Become a Better Data Analyst with Tableau - DenmarkTUG
 
Machine Learning Vs. Deep Learning – An Example Implementation
Machine Learning Vs. Deep Learning – An Example ImplementationMachine Learning Vs. Deep Learning – An Example Implementation
Machine Learning Vs. Deep Learning – An Example Implementation
 
Getting Started with BigQuery ML
Getting Started with BigQuery MLGetting Started with BigQuery ML
Getting Started with BigQuery ML
 
李俊良/Feature Engineering in Machine Learning
李俊良/Feature Engineering in Machine Learning李俊良/Feature Engineering in Machine Learning
李俊良/Feature Engineering in Machine Learning
 
Dojo Grids in XPages
Dojo Grids in XPagesDojo Grids in XPages
Dojo Grids in XPages
 
From Developer to Data Scientist
From Developer to Data ScientistFrom Developer to Data Scientist
From Developer to Data Scientist
 
Managing a digital project
Managing a digital projectManaging a digital project
Managing a digital project
 
Web Engineering at UCL
Web Engineering at UCLWeb Engineering at UCL
Web Engineering at UCL
 
Migrating from matlab to python
Migrating from matlab to pythonMigrating from matlab to python
Migrating from matlab to python
 
Advanced Schema Design Patterns
Advanced Schema Design PatternsAdvanced Schema Design Patterns
Advanced Schema Design Patterns
 
Web design training , Web Design Training In Kolkata
Web design training , Web Design Training In KolkataWeb design training , Web Design Training In Kolkata
Web design training , Web Design Training In Kolkata
 

Qlik Dev Group - Hexagonal Binning

  • 1. Qlik Sense Extension Hexagonal Binning 23rd September 2015 Brian Booden
  • 2. Agenda • Introduction • Motivation • D3.js – Finding examples and tutorials • Find some collaborators • Make it happen • D3 Conversion and selections • Colour and Area Binning • Support for 10k+ Points • The Lasso and Hexagonal Shaped Problems • Other Features • Demo • Promote and share 1
  • 3. Introduction • Supervising Qlik Architect @ Cooper Software • Certified QlikView Designer, Developer, Administrator • 7 years Qlik experience, 15 years in IT • 3 time presenter at Qonnections • Email: brian.booden@gmail.com • Twitter: @brian_booden • LinkedIn: uk.linkedin.com/in/qlikviewifsexpert
  • 4. Motivation • MedAir International • Crisis Response • Ebola Outbreak – Sierra Leone • Teamed with Patric and Johan from Idevio • 8 teams • Winners – Axis Group • 2nd Place – Luminaries (Seebach, Becher, Burel) • Learned a lot about APIs for Qlik Sense • Made me want to learn more!
  • 5. D3.js – Examples and Tutorials • Find a visualisation • http://d3js.org/ • https://github.com/mbostock/ d3/wiki/Gallery • Harness existing code • Convert from D3 to Sense – Tutorial • http://blog.axc.net/tutorial- how-to-build-a-qlik-sense- extension-with-d3/
  • 6. Find collaborators • TIQ Solutions • Blog: http://irregular-bi.tumblr.com/ • Twitter: @irregularbi • Qlik Luminary • QlikView and Sense extensions • Dependency Wheel • 2 Dimensional Heatmap 5 Ralf Becher Speros Kokenes • Axis Group • Blog: http://blog.axc.net/ • Twitter: @sperosck • Qonnections Hackathon winner • SenseUtils.js and Lasso.js • QlikView and Sense extensions • D3 Visualization Library
  • 7. D3 Conversion and selections • Finding a code example • “Borrow” the CSS • Create the appropriate SVGs to make visible in Sense • Use an example static dataset (usually in the example) • Use Speros’ great D3 conversion tutorial as a guide • Get it on GitHub! • Then, add selections… • Hook up the equivalent “click” event • Use selectValues to make the selections 6
  • 8. The results of your work…. • How it feels when you make your first selection using your extension: 7
  • 9. Colour and Area Binning • 2 Ways to denote density of points in hexagons • Colour • Size (Area) • Colour • Transpose standard Qlik Sense colour scales • Diverging, Sequential • Blues, Reds, Greens • Size • Choose maximum and minimum hex size • Potential to add a 3rd Measure to colour sized hex based on a separate measure 8
  • 10. Support for 10k+ Points • Natural limit for extensions = 10k points • Solution = Speros SenseUtils.js library • pageExtensionData : function(me, $el, layout, callback) • Creates datapages containing max 10,000 points • Uses flattenPages : function(data) to extend dataset into array • Call from inside paint function to initiate the callback function and create matrix of the entire 10k+ dataset 9
  • 11. The Lasso and hexagonal shaped problems! • Using Speros’ awesome lasso.js…. • Can we lasso from inside the bins? We can now! • .attr("class", "lassoable") • var lasso_area = d3.select("#"+id).selectAll(".lassoable"); 10 The red ‘Hit’ zone Hex layer sits on top of ‘Hit’ zone Full ‘Hit’ zone achieved by attaching “lassoable” class
  • 12. Other Features • Sense-like styling (CSS) • SVG Issues • AngularJS solution • Multiple Properties and options • Binning Mode (Colour or Area) • Colour range • Colour Expression (Sequential, Diverging etc) • Max Radius • Fill Mesh • Title & Static Layout • Center Hexagons 11
  • 13. Demo • Let’s see it, then…..
  • 14. Branch, LinkedIn and Twitter • Get your extension out there! • Use as many avenues as possible • Branch, LinkedIn, Twitter, Blogs • People will use your extension, if you promote it!
  • 15. Download & Questions • Download Hexagonal Binning for Qlik Sense at Qlik Branch • http://branch.qlik.com/projects/showthread.php?351-Hexagonal-Binning Questions?