Code Monkey home page Code Monkey logo

powerbi-visuals-histogram's Introduction

powerbi-visuals-histogram

Build Status Coverage Status

A histogram chart plots data ranges into intervals. Useful for estimating density.

Histogram chart screenshot

Overview

A Histogram shows history representation of the distribution of numerical data. It is an estimate of the probability distribution of a continuous variable (quantitative variable).

The data is grouped into bins, that is, divide the entire range of values into a series of intervals—and then count how many values fall into each interval.

Customize the number of bins, whether to use frequency or density, and the data colors.

See also Histogram chart at Microsoft Office store

powerbi-visuals-histogram's People

Contributors

avisander avatar blackleaden avatar dimanaumov avatar eugeneelkin avatar ignatvilesov avatar kamilzakiev avatar mvgaliev avatar pbicvbot avatar snyk-bot avatar uve avatar vtkalek avatar zbritva avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

powerbi-visuals-histogram's Issues

Duplicate Values not counted

Greetings,

Love this visual too much to not mention something. There seems to be a weird quirk in the most recent version of the histogram custom visual. Records with identical values aren't being counted in the histogram.

testing.zip

Best,

Dannel

Feature request: increase number of supported rows

Now Histogram custom visual supports only few thousands of rows. Number of provided rows is not proportional to the number of visual elements of the visual, so there should be no performance issues in regards of displaying them. There can be issues with creating selectionIds - this problem might be also resolved by using other selection/filtering approach.

Such changes will allow to support more number of rows and improve performance of the visual.

Support for % in X-Axis

Please add support for displaying the X axis with percentages. For example business cases: % of Target Pay, % of Sales Goal, etc.

Frequency is not counted properly when only 'Values' are given with number of bins

I have noticed that when not specifying frequencies, the sum of all frequency does not equal with the count of all input data.

In the official example on the usage of this visualization it can be perfectly seen, that the sum of frequencies on the 'Students exam result' page does not equal with the count of all students.

Bins: [7,12], (12,17], (17,22], (22,27], (27,32], (32,37], (37,42], (42,47], (47,52], (52,57], (57,62], (62,67], (67,72], (72,77], (77,82], (82,87], (87,92], (92,97]
Correct:   [1, 1, 1, 1, 2, 3, 4, 3, 2, 9, 9, 8, 6, 5, 1, 1, 1, 2]
By Visual: [1, 1, 1, 1, 2, 2, 2, 2, 2, 4, 3, 5, 3, 3, 1, 1, 1, 2]

The sum is not even 60 in case of this visual. It seems that value on the border are skipped (in spite the fact the the border is closed) in some cases.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.