Uploaded image for project: 'Zeppelin'
  1. Zeppelin
  2. ZEPPELIN-2237

Grouping in pie chart isn't accurate

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.7.0
    • 0.7.1, 0.8.0
    • front-end
    • None
    • Important

    Description

      While I was verifying ZEPPELIN-1889, I tried grouping with pie chart, when I tried grouped data, I think, it's only displaying information from the first group

      • Use bank data from example spark job that comes with Zeppelin.
      • Wrote an sql query: select * from bank limit 100;
      • In the visualization settings, select pie chart
      • Set- key: marital, groups: education, value: avg(balance)

      Results displayed in graph:

      • Divorced: 61% 487
      • Married: 50% 399

      This is statistically correct, I guess, because, there is one more result: 'single: -11% -91', which cannot be displayed on a pie chart

      But the chart only displays data from people who completed only primary education, where as it should display results from people with other educational qualifications

      Attachments

        1. pie-chart.webm
          992 kB
          Sravan S
        2. paragraph.png
          31 kB
          Sravan S
        3. data-source.png
          78 kB
          Sravan S

        Issue Links

          Activity

            People

              ess_ess Sravan S
              ess_ess Sravan S
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: