The Chart Builder is a proof-of-concept app to understand the feasibility of using a CSV file (or SPARQL query) to generate and customise a chart or data visualisation
Supports sparse data (outputs ,, in the CSV file for that data point)
Uses Papaparse library for reliable parsing to CSV
Edge case support for compact bar charts (with compact bar charts a single series is spread across multiple traces to enable the subplots to be created. The edge case logic extracts the data from each trace and builds it into a single series)
Standalone and CMS-integrated styling for the Download Data button
CSV data download capability: