Skip to content

ChiaLingWeng/Variability-Gauge-PowerBI-Script

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Variability-Gauge-in-PowerBI

Alt Text

We can draw a nested scatter plot easily using Python, R or JMP. But since PowerBI server support none of the above method, we may use Deneb instead

You may use variability_chart.pbix directly to get the deneb plug-in.

Vega-Lite languages

Here are some basic operators / properties, you must follow the correct format

import PowerBI source

    "data": {
        "name": "dataset"
    }

Top-level View Specification: Avoid entering same config format repeatedly

{
  ...,
  "config": { // Configuration Object

    "view": { // - View Configuration

      // View Size
      "continuousWidth": ...,
      "continuousHeight": ...,
      "discreteWidth": ...,
      "discreteHeight": ...,
      // View Background Properties
      "fill": ...,
      "stroke": ...,
      ...
    },
    ...
  }
}

Nested Chart: "facet" and "spec":{"facet","spec":...}

            "facet": {
                "column": {
                    "field": "A"
                },
            },
            "spec": {
                "facet": {
                    "column": {
                        "field": "B"
                    }
                },
                "spec": {
                    "layer": [
                        {
                            "mark": {
                                "type": "point",
                                "tooltip": true
                            }
                        }
                    ]
                }
            }

License

MIT License
Copyright (c) 2023 Weng, Chia-Ling

Releases

No releases published

Packages

No packages published