PostgREST seems the perfect complement for pgcharts: together they offer access, analysis and visualization, "all in one", for any user or app.