Daniel Gavrilov

Results 36 comments of Daniel Gavrilov

It might be possible to make it obvious _before_ hitting upload – I don't remember exactly, but I think the server returns the dataset's variables and allows authors to match...

If I remember correctly, the labelling algorithm only cares about whether there are overlaps between text labels. A thing to tweak might be the _minimum distance to the next label_...

Maybe we can do the same for the existing references? On every bake, also bake a references file, so we don't need to search the db every time a chart...

## Approach 1: Load the webfonts I tried to fix this by adding this at the beginning of the ``: ```html @import url(https://fonts.googleapis.com/css?family=Lato:300,400,400i,700,700i|Playfair+Display:400,700&display=swap) ``` This works when you load the...

Yes, and a major platform we don't have a good fallback font for is [Android](https://owid.slack.com/archives/C46U9LXRR/p1658359834432879?thread_ts=1658304208.963609&cid=C46U9LXRR), which is also the OS in the screenshot and defaults to "Droid Serif". Finding a...

Agree with the above! Also related and "somewhat optional" is that we should move away from: - Storing entity codes in our codebase: https://github.com/owid/owid-grapher/blob/6a5729d34556a241bbc38b0c1cf72e105c6af3a2/grapher/core/EntityCodes.ts#L4-L294 - Storing population numbers in our...

Nice find! I argued for it and implemented it some time in 2019, and it's nice in many cases. Max also [asked to have it back](https://owid.slack.com/archives/C5BDCB2R3/p1629490445010800?thread_ts=1629457939.003400&cid=C5BDCB2R3) at one point. But...

Actually, maybe these start/end ticks shouldn't even get injected for bar charts? They make sense in some charts, but definitely not bar charts. If I remember correctly, there is logic...

I think the ideal fix for the Continents variable specifically is to [**define color scales on the variable level**](https://www.notion.so/owid/Store-color-scale-config-on-variable-level-ce3c98d8c3a846b0b0f9976e57ffb316). Then, for the Continents variable, we can set the "No data"...