Indeed R doesn't work on shared hosting.
D3 is on packagist and has a composer.json file, so within a few minutes, it can be bundled into Tiki:
Very much like the other libs:
The tricky part is what does the interface look like to use the charts. All the current charts libs could be progressively replaced by D3.
And for user-generated charts, we need some sort of wiki syntax to get the data from trackers or elsewhere and then some params for visualization (A bit like r.tiki.org does I guess)
I started a feature request here: http://dev.tiki.org/item5155
This is connected to our "show server", which permits to have a Tiki instance. It's normally to demonstrate a bug, but let's use to experiment.