djay / covidthailand

Thailand Covid testing and case data gathered and combined from various sources for others to download or view
126 stars 15 forks source link

better y axis fomatting #86

Closed djay closed 2 years ago

djay commented 2 years ago
djay commented 2 years ago

@modiholodri not sure why I can't assign it either

reduxionist commented 2 years ago

Can only assign issues to Contributors...

modiholodri commented 2 years ago

@djay I started working on the chart layout and made some progress already. There are more changes, so I guess I should make separate PRs for each of them or just make separate commits in one PR? There are some changes where you might have a different option/taste like...

Anything what is against your taste/idea?

That's how it looks at the moment (still a work in progress)... image

djay commented 2 years ago

make separate PRs for each of them or just make separate commits in one PR?

yeah I think thats better. unless they are rely on each other someway I guess

The no decimals looks great. And it also works for charts where they need decimals?

  • All legends are in the upper left corner. I think it's the best place and nice if it is consistent in all charts. Even if it is not the perfect place for some of the charts.

There are lots of charts where it doesn't work in that location. There is a way to fix it per plot and maybe all the province ones it makes sense to always prefer it there? but I think some of the health district area charts it doesn't work there. Also keep in mind that it generates 4-5 different time periods for every plot so some may more in that location better than others.

  • No Y axis labels are needed. What is shown should be clear from the title and if not then the title should be improved.

ok great.

  • Removed CC-BY for now, should be added in the footer.

you are right. maybe even the url too? there are a lot of caveats in the readme that would be good to simplify and put into the footnotes section not that it exists. Another thing I was thinking is putting in the url to actual source as well as our url?

  • The original source could be added in the footer...

ah one step ahead of me :)

modiholodri commented 2 years ago

Yes, it works also for charts with decimals. I had just a few examples, because I am somehow having issues with the settings about what to produce (had to hardcode it because I'm too stupid to make the work with the settings file and did not bother to look up the details yet). Once it exported 250+ charts, but now it gets stuck around 60...😒

image

The X axis still need more fixing...

I would say the URL in there is good and makes it somehow more balanced. And if others reuse the charts everybody knows from where they comes from.

To put all the need info in the chart is nice and then every picture would be self-contained.

djay commented 2 years ago

Awesome. thats looking great.

reduxionist commented 2 years ago

Since all tasks in this issue have merged PRs in them, I think it can be closed no? Learning tip: if a PR would resolve a particular issue writing

(fixes|closes) #X

in the PR will let GH auto-close the related issue once the PR in question is merged, neat huh? :smiley:

Thanks for all your contribs @modiholodri; hope you make it in as one of the first 50k hacktoberfestists because you definitely deserve it!

modiholodri commented 2 years ago

@reduxionist Welcome! :-) The thaipopulation formatter is not fixed yet. I'll do it this week some time.

reduxionist commented 2 years ago

เมื่อ อ. 5 ต.ค. 2564 เวลา 08:37 Reinhold Lauer @.***> เขียนว่า:

@reduxionist https://github.com/reduxionist Welcome! :-) The thaipopulation formatter is not fixed yet. I'll do it this week some time.

Okay cool, no rush! 😀

djay commented 2 years ago

I noticed a few graphs are % ones like vaccinations so would be good to have % formatter on those?

modiholodri commented 2 years ago

@djay Noticed that also already. The basic plan is to make this week second round concerning the charts.

Have to try also to fetch everything again so that all the charts are produced. Last time it got stuck after 58 charts...

modiholodri commented 2 years ago

@djay Should we close this issue and open a new one, since most of the planned changes are more like general chart improvement or plot related?

Or even open several issues...

djay commented 2 years ago

yep. closing now. feel free to create specific tickets for the things you propose to do. try to title about what its trying to fix more than how its going to fix it.