For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.
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/v6.json", | |
| "description": "Gráfico de red jerárquica radial adaptado", | |
| "width": 600, | |
| "height": 600, | |
| "padding": 20, | |
| "autosize": "none", | |
| "signals": [ | |
| {"name": "labels", "value": true, "bind": {"input": "checkbox"}}, | |
| {"name": "originX", "update": "width / 2"}, |
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": "A half-donut gauge chart to compare two variables.", | |
| "width": "container", | |
| "height": "container", | |
| "autosize": {"type": "fit", "resize": true, "contains": "padding"}, | |
| "signals": [ | |
| {"name": "startAngle", "value": -90}, | |
| {"name": "endAngle", "value": 90}, | |
| {"name": "padAngle", "value": 0.03}, |
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", | |
| "description": "Grafo de relaciones entre empleados de una organización, mostrando capacidades y conexiones.", | |
| "data": { | |
| "values": [ | |
| { | |
| "source": "Alice (Analista)", | |
| "target": "Bob (Científico)", | |
| "capacidad": 3 | |
| }, |
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", | |
| "description": "This is a faceted percentage based waffle chart. The transforms below perform the following functions: 1. Create a column that shows the count of all cars. 2. Create a column that shows the count of all cars grouped by Origin. 3. Divide transform 2 by transform 3 to get a percentage. 4. Aggregate the input table so to only have two columns for Origin and Percent and 3 rows. 5. Create a sequence from 1 to 100 as an additional column. 6. Flatten the newly created sequence column so the table expands to 300 rows (100 rows per Origin). 7. Create a new column where each row is either coded as the Origin or blank. 8. Calculate row numbers. 9. Calculate column numbers.", | |
| "data": {"url": "data/cars.json"}, | |
| "transform": [ | |
| { | |
| "joinaggregate": [{"op": "count", "field": "Origin", "as": "TotalOrigin"}] | |
| }, | |
| { | |
| "joinaggregate": [ |
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", | |
| "description": "Funnel chart showing Revenue & GM by Month with modifications", | |
| "data": { | |
| "values": [ | |
| {"month": "Jan-23", "value": 50}, | |
| {"month": "Feb-23", "value": 30}, | |
| {"month": "Mar-23", "value": 40}, | |
| {"month": "Apr-23", "value": 20}, | |
| {"month": "May-23", "value": 60}, |
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", | |
| "description": "Funnel chart showing Revenue & GM by Month", | |
| "data": { | |
| "values": [ | |
| {"month": "Jun-23", "metric": "Leaders", "value": 10}, | |
| {"month": "Jul-23", "metric": "Leaders", "value": 20}, | |
| {"month": "Aug-23", "metric": "Leaders", "value": 30}, | |
| {"month": "Sep-23", "metric": "Leaders", "value": 40}, | |
| {"month": "Oct-23", "metric": "Leaders", "value": 50}, |
This is the United Nations World Population Prospects 2019 Dataset, cleaned and formatted as CSV.
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
| pruebaa |