David Bacci
David Bacci
@domoritz - your video shows it **not** working though. The bars are not proportionally sized. On further investigation, I can get this working in FF and Chrome if I wiggle...
Are you sure it is the editor and not related to https://github.com/vega/vega/issues/3825. 
Possibly related to https://github.com/vega/vega-lite/issues/5937 as this looks like a sort problem when gaps are present.
I managed to fix the sorting on this by using a number and then a label expression. There is definitely still a bug here although my work around solves my...
Looking at the compiled Vega, I think the reason is that any date transform specified in VegaLite is always done first regardless of its position in the transform list. This...
For the original issue, the broken compiled Vega spec looks like this:  ``` { "$schema": "https://vega.github.io/schema/vega/v5.json", "description": "Using utc scale with local time input.", "background": "white", "padding": 5, "width":...
 Use an extent transform to recalculate your scale. [Example](https://vega.github.io/editor/#/url/vega/N4IgJAzgxgFgpgWwIYgFwhgF0wBwqgegIDc4BzJAOjIEtMYBXAI0poHsDp5kTykSArJQBWENgDsQAGhAATONABONHJnaT0AcTZsyAGzgByCAAIImNlADWJnMqhwTbUopNqEcStJBMk1sopsDOKyaCAA7jB0cN44SLKyNOJkaAIy4TSy9GgAHAAMeTLwNGRYaAAsBTLmAJ4GYQ56et6ySJgoqADaoOJIHmFiDIoOAPp53kPN6K3tnBbWEJRQEMTeAGZsisiYaKCYNTgx6MurMnGKEEegM0dybTEAvjLyejQI0YphMk8gmIpI4ggGy2aG6vwOtzWND0mDgnxkcAAHnYwjMGAhKBAaggmGw9ABeQmGTQAeRJmkMICeewhYTeOAYsPWNDgelC6DsNAc3gCQRwTBqoIAujIrHBBdN7t4PPQ2OyQMQkHoGDEZIrlUc8tTwYcBu1rDzAgx+RLOncmSKQFDWfLOdzqpsdqhQNa2cKZJt5J8ukKfkgIKCQHa4CNzEhFDszvYQ3AQiBLWw1mtLk6QAAvOFsKlSGm69BI2HiSNWllujnR7wQEq9KYgAuxnYPX2W5CKKwBro9Pq3PRIGpwsYjVvt7z7PMgcNwFDVfb1LoTxRT+MOiO7Es21FtdGdAA65rge6F2atgQQa5mHRAg2GIfGP1jUDlVxAxpua7YcSgdAloHVKrQACMPybCyRZrn+twuGoUBKseSSwooOB4lKzoKkq-7oL4VYBj8UJNGuVZkDWYQBPEoGYAAFIYj56JsoYwQYhhSCYnQAVIAEiixbEALQAQIBQEPWRasUKQoAJTMhu5ZcjGcY-PISgqGoEgEdWsHoHuNyoCYe4mAA1CYFHuHAABimzbBRaIILu+6HsxhgAKRMCYDmyMxDkAJqGGJYn6TpIAANy2NG2m6QZFHAhZVk2cGdn+XuPnHoiBEMbcyUyK68pvj8P5XqlYSChlpa2tGIyxqEOUAEwpUqtyFeuZZBqVYarvJcBQuIcDsqAhHEegNAQAAakqmSWVu1mafch6+QAZDNJgDSZSTRBRenRZNsLTSYc0LUNI2yGNmDbnusXxrN82LctsKretTUydNVIPE9lrQLVHZgr0-ToOlOq3MZLRsMgSTnm0l7XqM4xFVJ+7Hv8yRHJ0hQ9WptYZFkMBUr6OYgJ9dWjrS6CvJ14YA0DGiI+x-F5JacNkAjyNEepGBwCUZRPNTMjiDJaB-CqMgZoEPOKCq2q4w0eJ0a99QyGOPZJFO8IgLTCNK113j9k0bDhIacCxsuciA0gwNdIUADs-GUwUzYyEgiIKKCPX5d93ggQ2YS4tggOGpkADKTsgPVASZELfO-FyVgAMJBGBqG9UzDjQhRaP0AQlQSfJhvG2sSqXDIvZMKyHbZ3oucLjQHTF6XyCIgAooihZOoUIDvOIdcN2gTfQSOqCV3A-NJPIyWoFq2NS3jHrKG7hPtcWQeyH7tVhD9c8h33YfWFHwROgzfUgAnegUcUpSYKneTp88mcaL3edIAXJdoNfZcVzna-V23U9Ny378x534dFy--cQhIg7tqMeS8XaTxjj4NgnszwyBXj3ABYdMBzhhjfO+JllQQAxqgXma986shJC4XsOBV4y3DpvGOO944swPsnGAp9z7pgHsA4eoD-b1VdlAgwaxZ7KHZI-NQKDbjBm8AQvQRC4QkLIevSO0dt5XhRg0Whh8WbH0YceNMLCh5al9EAA)
I ran into the same issue. It is a strange setup (to me) required to get this to work but a working example that helped me figure this out is...
Yes, use the technique here to drive the colour from your supplied data and then it will always be consistent. https://vega.github.io/vega-lite/docs/scale.html#example-setting-color-range-based-on-a-field
Same bug reported on SO: https://stackoverflow.com/questions/77269555/how-do-you-create-a-radial-plot-with-pre-defined-radius-data/77270813#77270813