Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Google Charts in Stata

    Hi

    I want to create a Sankey Chart in stata. https://developers.google.com/chart/...gallery/sankey

    I found this presentation that allows to use 'gchart' to make such charts but I cant see to find this package.

    https://www.stata.com/meeting/chicag...o16_chavez.pdf

    Is there any package that allows me to make Google Charts on stata (esp. Sankey Charts)?

    Thanks

    Dhruv

  • #2
    It looks like gchart is a vaporware. No mention of code or downloadable links anywhere, and the author has not responded to any request for code as far as I can tell.

    Comment


    • #3
      The term "vaporware" to me is software announced but never released and connotes a practice used by some firms in the past as a part of mind games with their competitors, to convince them that competing is not a good idea, or even to get them to waste their time on a futile project. Historically, various then famous programming languages were just too difficult to port to tiny PCs.

      In this case, the authors are very competent people, but their project may well have stalled for more or less standard reasons. So, to me the word "vaporware" seems unfortunate. It is not outrageous to give a talk on work in progress, or if that is outrageous, include me as guilty.
      Last edited by Nick Cox; 04 May 2020, 09:20.

      Comment


      • #4
        Nick, agree "vaporware" may be too strong of a term to use. Would be nice to have closure however by announcing project has been abandoned. I'd also be interested in helping develop it if the code is made available.

        Comment


        • #5
          Oh! Well, that is unfortunate. I did email to the presenter of the talk but they have not responded. Thanks. I think I should try R studio for this chart.

          Comment


          • #6
            I'm working on a github repo with code to build Google Chart interactive visualiations, tables, and entire sites, see: https://github.com/ericabooth/googlechart-stata-public

            Live demo / example here: https://ericabooth.github.io/GoogleChart_Example_Site/

            It pairs nicely with a google sheets stata command in this repo: https://github.com/ericabooth/googlesheets-stata-public
            Code:
             
             net install googlechart, from("https://raw.githubusercontent.com/ericabooth/googlechart-stata-public/master/") replace which googlechart help googlechart
            Eric A. Booth | Sr. Researcher | Texas2036.org | www.github.com/EricABooth

            Comment


            • #7
              eric_a_booth Cool stuff in -googlechart-. I did a -net install-, downloaded the example do-file, and all worked fine (Win 11, Stata 19.5). At the end of running the do-file, I got "(Skipping gallery roll-up: sparkta2_dashboard not on adopath.)". Is there a -net install- command for -sparkta- as well?

              Comment


              • #8
                Originally posted by Stephen Jenkins View Post
                eric_a_booth Cool stuff in -googlechart-. I did a -net install-, downloaded the example do-file, and all worked fine (Win 11, Stata 19.5). At the end of running the do-file, I got "(Skipping gallery roll-up: sparkta2_dashboard not on adopath.)". Is there a -net install- command for -sparkta- as well?
                Thanks for testing it out Stephen Jenkins ! Yes, the sparkta2 is a parallel package also on Github testing implementation of d3.js charts not available to Google Charts and building on the great work in the original Sparkta (mostly adding mapping, download data buttons, and some new visualization types). I'll fix that reference in the testing do file this morning.

                If you're interested in Sparta2 I pushed it on my company's github https://github.com/texas-2036/sparkta2-stata-public but the gallery it mentions is on my github pages here: https://ericabooth.github.io/Sparkta2_Example_Site/

                Bug reports, new features desired, etc are all welcome - for either package. I'm looking to make this work as seamless (and html/js coding-free) as feasible.
                Eric A. Booth | Sr. Researcher | Texas2036.org | www.github.com/EricABooth

                Comment

                Working...
                X