Charter Stack

Data source options

Data added directly into stack

All of the examples on the main Charter web page use data that has been added by inputting directly into the stack. This approach is best suited for data that is limited in size (i.e. not a large amount of values and/or datasets) and that does not change on a regular basis.

Linking to an external data source

Charter also allows for the data component of this to be supplied via a csv (comma separated values) file. This means that you can manage the actual data outwith RapidWeaver and let the stack instead focus on the labelling and styling options. This will be great for data that is dynamic and that you want to keep updated regularly without constantly needing to go into RapidWeaver, make updates and then republish.

You are able to:

  • Add a csv file to the RW Resources folder
  • Link to a warehoused csv file (in a folder on your server for example)
  • Link to live data in a Google Sheet

There are examples of all of these options below. You are also able to toggle the 'view data source' option to view the csv dataset that is providing the values. This will also show the format that should be used.

CSV file added to RW resources

This example includes:

  • Linking to a local RW resource file. A csv file has been added to RW resources and then linked to via Charter stack (you can view the data/structure of csv file by clicking on the 'View data source' toggle)
  • Pie chart. There is only one dataset in this example and a pie chart is a great way to show the relationship between the values in this instance
  • View data source
Buy now

Buy this stack for

Example 2 - 'Warehoused' CSV file

This example includes:

  • Linking to a warehoused csv file. A csv file has been added to a folder on a server and then linked to via Charter stack using a url (you can view the data/structure of csv file by clicking on the 'View data source' toggle)
  • Bar chart. There are 3 datasets in this example (one for each store) and a bar chart is a useful way of showing the different 'stock levels' for each product at each store
  • View data source
© Shaking the Habitual