Skip to main content

Tutorial: How to Build a Qlik Sense Extension with D3

23 Comments

    1. Speros Author

      Thanks for the shout out Mike!
      -Speros

  1. Sean Donovan

    This is fantastic! Thank you so much for writing this tutorial!

  2. julian

    Hi,
    for some Reason neither my nore your code will accept dimensions. (I get to choose them in sense but they won’t be used)
    I changed the wbl file contents to twodimscatter, since the problem reminded me of a similar problem in qlikview with the properties qvpp. Didn’t work though.

    Any insights or similar errors anyone?

  3. Speros Author

    Hey Julian,

    I haven’t seen that issue. So it doesn’t work even if you use the completed code that I posted on GitHub?

    Are you using version .96 of Qlik Sense? Just want to confirm you aren’t using one of the prior beta versions.

  4. Victor

    Great article! Looking forward to the next one in making it interactive!

  5. Adeel

    this works with some tweaks .. dimensions and measures should be set like this

    dimensions: {
    uses: “dimensions”,
    min: 2,
    },
    measures: {
    uses: “measures”,
    min: 2
    },

  6. André R. Ferreira

    As per developer manual, The Workbench load file (wbl) is used by the Mashup workbench and lists the name of all files included in the mashup project. When you save a mashup project from the Mashup workbench, a wbl file is automatically included in the project.

  7. sumanth

    Hi guys,
    Inspite of following all the steps I’m not able to generate the scatter chart as explained by the auther. Don’t know what could be the error or mistake but I’ve cross checked with what is given in the post but it doesn’t work…..Please help guys

  8. Rajiv Maskara

    Hi Speros,

    This is really good.

    Did you have a chance to extend this with the “Next Steps”?? Looking forward to it…

  9. Nick

    Hi,

    With reference to this: “Give the sheet a name and open it. It will initially be blank. In the top right corner, press the “Edit” button to enter Edit mode. There is a panel on the left side of the page where you can select charts to add to the page. Scroll down to the Two Dimensional Scatterplot chart and drag it onto the dashboard.”

    In my panel I did not have the option of The Two Dimensional Scatterplot chart. Any idea why? How can I troubleshoot?

    Thanks for helping 🙂

  10. Bill

    Brilliant. Many thanks for creating and posting this.

  11. Aadil

    Simple and clear to follow.
    thanks a ton for sharing this.
    -Aadil

  12. Dev

    Hi Speros,

    Thanks for this great tutorial. I am using QlikSense Desktop v2.1.1 and I am facing an issue. When I drag the Two Dimensional Scatter item into the worksheet, I am getting the option to add 2 dimensions and 2 measures. All good up-to this point.

    But as soon as I add the last dimension/measure, the chart goes blank. It’s not accepting the 4th dimension/measure.

    Any idea about such behaviour?

  13. Dev

    Dev :
    Hi Speros,
    Thanks for this great tutorial. I am using QlikSense Desktop v2.1.1 and I am facing an issue. When I drag the Two Dimensional Scatter item into the worksheet, I am getting the option to add 2 dimensions and 2 measures. All good up-to this point.
    But as soon as I add the last dimension/measure, the chart goes blank. It’s not accepting the 4th dimension/measure.
    Any idea about such behaviour?

    Its working now.

  14. Jatin

    I have followed every given step. but extension is not reflecting in qliksesnse . Please help me out on this issue

  15. JérémyB

    Hello ! Thank you for your tutorial very clear and useful 🙂

    I tried to add a third measure in the extension (that I used to play with the size of the bubble) but I can’t see the third mesure in the qMatrix there is only 4 elements by Object (the 2 dimensions and the 2 measures as there are in your tutorial) do you know why ?
    It’s really embarrassing because I need 5 measures for what I need 🙂

    (again thank you for your tutorial 🙂 )

  16. Varun Tyagi

    Hi Dev
    how did you resolve your problem.. when I drag the extension object to the worksheet it is blank.. don’t know what is the reason have tried everything.. appreciate if you can help me out..

  17. kenji

    Hi, may i know which part is for the dot (bubble)? Possible to change the dot image?

  18. Bill

    Hi Speros, thanks for a great tutorial. A quick question though.

    I’m trying to reuse your code and expand it a little. In doing so, I need to dynamically name the columns in the Dim1, Dim2 data variable.

    In other words, inside the data variable, I need a column which is ‘Product Category’, and ‘Customer’, and ‘Sales’ since I can’t override these columns later on.

    Is there any way to make this return function pull the Dim1 and Metric1 and Metric2 through a variable or function and not be hard-coded?

    I’ve tried many variations, but somehow I can’t get it.
    var data = qMatrix.map(function(d) {
    // for each element in the matrix, create a new object that has a property
    // for the grouping dimension, the first metric, and the second metric
    return {
    “Dim1”:d[0].qText,
    “Metric1”:d[2].qNum,
    “Metric2”:d[3].qNum
    }
    });

  19. dja

    Hello, when i try to download the ressource D3.min the link seems to fail. Where i can download it plz?
    Thanks

  20. Phil Rees

    Hi,
    Just a quick question, I’ve just downloaded Qliksense June 2017 and the the available extensions include ‘table-template’. I cannot seem to find simple table. Is ‘table-template’ ok to use??

    Many thanks,
    Phil

Leave a reply

Your email address will not be published. Required fields are marked *