AlbertRapp / blogComments

0 stars 0 forks source link

posts/ggplot2-tips/10_recreating_swd_look/10_recreating_swd_look #34

Open utterances-bot opened 3 months ago

utterances-bot commented 3 months ago

Albert Rapp - Recreating the Storytelling with Data look with ggplot

We try to imitate the Storytelling with Data look with ggplot

https://albert-rapp.de/posts/ggplot2-tips/10_recreating_swd_look/10_recreating_swd_look.html

NB024 commented 3 months ago

Hi Albert, thanks for this fantastique explanation. I'm just wondering whether it is possible to bold only parts of geom_text? I've read about geom_richtext - unfortunately I get the error:

Error in `ggtext::geom_richtext()`:
! Problem while converting geom to grob.
i Error occurred in the 3rd layer.
Caused by error:
! gridtext has encountered a tag that isn't supported yet: <ul>
Only a very limited number of tags are currently supported.

Do you know how to fix it or just another workarround?

Thanks in advance, Sabine

AlbertRapp commented 3 months ago

Hi Sabine,

Glad that you like my blog post. You can make things with geom_richtext by wrapping words into ** just like in Markdown. The reason why you get an error seems to be because you try to include an unordered list via an

ZhenyaKosovan commented 2 months ago

HI Albert,

Thank you for a very detailed walkthrough. It is very useful. Spectacular to see how thoughtful dataviz is whole lot faster when you do it yourself rather then work out the examples with gpts.