Format: Graph: PieChart: Diferență între versiuni
De la alegeri.md
Oleg (Discuție | contribuții) |
Oleg (Discuție | contribuții) |
||
Linia 22: | Linia 22: | ||
"transform": [{"field": "y","type": "pie"}] | "transform": [{"field": "y","type": "pie"}] | ||
}, | }, | ||
− | "type": "arc" | + | "type": "arc", |
+ | "encoding": { | ||
+ | "theta": { | ||
+ | "field": "Percentage complete", | ||
+ | "type": "quantitative", | ||
+ | "scale": {"domain": [0, 100]} | ||
+ | } | ||
+ | } | ||
} | } | ||
], | ], |