This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"width": 300, | |
"height": 200, | |
"data": {"url": "data/unemployment-across-industries.json"}, | |
"mark": "area", | |
"params": [ | |
{ | |
"name": "industry", | |
"select": {"type": "point", "fields": ["series"]}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"width": 300, | |
"height": 200, | |
"data": {"url": "data/unemployment-across-industries.json"}, | |
"transform": [ | |
{"filter": "datum.series == 'Government' || datum.series == 'Finance'"} | |
], | |
"mark": "area", | |
"params": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"data": { | |
"values": [ | |
{"partido": "DEM", "ano": 1982, "quantidade": 0, "proporcao": 0}, | |
{ | |
"partido": "DEM", | |
"ano": 1986, | |
"quantidade": 8374709, | |
"proporcao": 0.177 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"data": { | |
"values": [ | |
{"partido": "DEM", "ano": 1982, "quantidade": 0, "proporcao": 0}, | |
{ | |
"partido": "DEM", | |
"ano": 1986, | |
"quantidade": 8374709, | |
"proporcao": 0.177 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"data": { | |
"values": [ | |
{"partido": "DEM", "ano": 1982, "quantidade": 0, "proporcao": 0}, | |
{ | |
"partido": "DEM", | |
"ano": 1986, | |
"quantidade": 8374709, | |
"proporcao": 0.177 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v3.json", | |
"data": { | |
"values": [ | |
{"partido": "DEM", "ano": 1982, "quantidade": 0, "proporcao": 0}, | |
{ | |
"partido": "DEM", | |
"ano": 1986, | |
"quantidade": 8374709, | |
"proporcao": 0.177 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"background": "white", | |
"padding": 5, | |
"width": 500, | |
"height": 300, | |
"title": { | |
"text": "Fuel efficiency generally decreases with engine size", | |
"subtitle": "Two seaters (sports cars) are an exception because of their light weight", | |
"anchor": "start" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Created by Brian Julius, 23 Oct 2024 using AI model o1-P | |
BulletChartSVG = | |
VAR __TotalSales = [Total Sales] | |
VAR __TargetSales = [Current Year Sales Target] | |
-- Normalize the bars by using the maximum target sales across all data | |
VAR __MaxTargetSales = [Max Sales Target] | |
-- Scale the bars based on the maximum target sales |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REM Uses pbi-tools to extract the data model info and create the BIM file associated with each PBIX file in the directory | |
REM Batch file code written by Brian Julius, October 8, 2024 | |
REM @echo off | |
SETLOCAL ENABLEDELAYEDEXPANSION | |
REM ============================================================ | |
REM Batch Script to Extract BIM Files from PBIX Files | |
REM All PBIX files are in C:\test | |
REM All BIM files will be written to C:\test\bim_files | |
REM ============================================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://vega.github.io/schema/vega/v5.json", | |
"description": "An example of a space-fulling radial layout for hierarchical data.", | |
"width": 600, | |
"height": 600, | |
"padding": 5, | |
"autosize": "none", | |
"data": [ | |
{ | |
"name": "tree", |