TaxFoundation / country-landing-pages

MIT License
0 stars 1 forks source link

Increase Font Size of Chart Titles and Labels #6

Open cpastre1 opened 4 years ago

cpastre1 commented 4 years ago

These seem really tiny right now, especially the y-axis labels on charts.

tvanantwerp commented 4 years ago

I've been playing with a lot of these since this issue was opened. Some are probably still too small, especially on mobile, but I think they are on the whole larger. Opinions?

cpastre1 commented 4 years ago

I've been playing with a lot of these since this issue was opened. Some are probably still too small, especially on mobile, but I think they are on the whole larger. Opinions?

I still find them too small, especially on mobile. If what I'm seeing in the code inspector is accurate, axis numbering, labels, and legends on mobile are essentially unreadable. Chart titles should also be considerably larger than axis labels, imo, and not all chart titles appear to be the same size (see below).

image image

For the bar charts, I'm wondering if it's possible to flip the axes so that the bars run down vertically. Otherwise, I'm not sure how there will be space to make the the country labels easy to read (even on desktop).

Section headers and chart tabs are looking good, but body text could also be bumped up slightly.

tvanantwerp commented 4 years ago

SVGs are hard to make responsive. I've actually had to remove some of the responsive features I added earlier because they were causing bugs. This will be a work in progress for a while.