in reply to How to calculate the column and print it in pie chart format using perl?

Have a look at Google charts! Read the API and examples ...

Retrieve the data from database or where ever it is. As long as you can feed your data to it, you will get your chart.

  • Comment on Re: How to calculate the column and print it in pie chart format using perl?

Replies are listed 'Best First'.
Re^2: How to calculate the column and print it in pie chart format using perl?
by afoken (Chancellor) on Mar 22, 2017 at 12:01 UTC
    Have a look at Google charts! Read the API and examples

    Disadvantages:

    • Internet Connection required
    • Javascript required
    • Javascript code dyamically loaded from the internet
    • A lot of trust in Google required

    To explain the last point: You have to load Javascript code from Google at runtime, which loads even more Javascript code from Google and NodeReaper knows from where else. That code has the potential to upload all of the data you pass to the API functions. Google can change the implementation of the Javascript code at any time - they just promise backwards compatibiliy for some time.

    "My data is not important, it will hide in the background noise." That background noise is well-analysed and sold by Google / Alphabet. They make money from it. A lot of money. So much money that they can afford developing self-driving cars (from scratch!) and many other things.

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
      Maybe we can be driven to work someday :) Don't use it if you don't trust it :)