I'm working with a Python script that scrapes data and outputs it to a CSV file. I'm looking for suggestions on libraries or packages that can help me create professional-looking graphics and charts, and then format that data into a nice layout for exporting as a PDF on my computer. I've tried using Matplotlib, but I'm interested in other options that would help me achieve a more polished result, similar to this infographic: [link].
2 Answers
You might want to check out a template engine like Jinja2 and pair it with a headless browser like Puppeteer to export your layouts as PDFs. It can give you a lot of flexibility with designs!
Have you looked into WeasyPrint? It's a solid option for generating PDFs from HTML and CSS. I've seen some companies successfully use it for their reports.

Yeah, WeasyPrint is great! It allows quite a bit of customization and can handle a range of styles, which is perfect for infographics.