I started building them by hand but it's a lot of work to design and maintain.
So I built this "Family Tree Maker".
You can use the built-in form and download the image, as well as save the URL to come back to your tree later.
It also works as an API and MCP server, for use with AI like ChatGPT or Claude. I'm using this to automate building this trees: I ask Claude to take the FamilySearch data and build the tree image of a single family.
The website is free and the code is open-source on GitHub: https://github.com/mnapoli/family-tree-maker