Hi, thanks for posting an interesting project.
We can simply recursively follow all of the persons in database and insert json data in the chart.
I've worked on a similar project before and I have wide range of experience when it comes to recursive objects.
Could you share more about the project? For example do you need parents (mother and father) connected to each other or you need to display this db the same way as chart example shows?
I'm an experienced PHP, Mysql and Javascript developer with 7+ years of experience and I think I can easily help you out with the project.
Please send a message and let's get started ASAP.
Thanks.
George.