T269308 has shown that the addition of a graph to a single page if badly implemented can create a spike in production error logs, even though that error is caused by user generated content.
On larger wikis if a graph was added to a popular page the volume here could be catastrophic and overload the service.
We need a way to validate both graph definitions and csv data sources. Error feedback should be presented to the editor/reader rather than relying on error logs.