How to bring d3 and Qlikview together with extensions
The aim of this post is to demonstrate how to make this. I’ll assume the following:
You have Qlikview Personal Edition 11.2 installed (other editions may work but I haven’t tested) You know a little bit about d3.js and the concept of projections
Along the way, I’ve also realised that you might need a recent version of IE installed (I am using IE11). I think this is because d3.js contains certain characters not recognised by earlier versions of IE.
Step 1 – Make a folder for our new extension:
I’m on Windows 7 and any new qlikview extension I have lives here
. So make a folder called “d3Map”.
Step 2 – Add the necessary setup files
A Qlikview extension appears to need the following:
More on these can be found here
. I’ll go through the finer detail of each for this d3 map.
The contents of this file are as follows:
<?xml version=”1.0″ encoding=”utf-8″?> <ExtensionObject Label=”d3 Map”> <Dimension Multiple=”” Label=”Dimensions:” TargetName=”Dimension” Initial=”” PageSize=”200″/> <Expression Multiple=”” Label=”Expressions:” TargetName=”Expression” Initial=”” PageSize=”200″/> <Initiate Name=”Caption.Font.Bold” Value=”1″ /> <Initiate Name=”Caption.Text” value=”d3 demo” /> </ExtensionObject>
It’s also advised to add a tiny Icon.png for your new extension, but it’s not a must have. Here’s mine. When the time comes, you should be able to see the new d3 map extension like below:
Those who have been using d3 for a while will understand the range of amazing things that can be built, so your Qlikview dashboards should now [...]