WordPress.org

Forums

Graphing CSV Imports Automatically? (2 posts)

  1. krussell219
    Member
    Posted 1 year ago #

    I am trying to find a plugin/plugins that will allow me to not only import CSV files and automatically create multiple pages, but also put the content from each column of the spreadsheet into a bar or line graph. So, if I had a spreadsheet with a row for each US state and columns for per capita income, home ownership rate, high school graduation rates, etc, I could create 50 different pages (one for each state) that graphed each state's statistics in these categories versus the national average.

    Does anyone have an idea of how to do this? Any help would be greatly appreciated!

  2. linux4me2
    Member
    Posted 1 year ago #

    I haven't seen a plugin that will do this for you, but I have had good luck with the PHP jpGraph library in the past for graphing tasks.

    If it were me, I would create a custom page template that had the UI to select a particular state rather than create 50 pages, include the jpGraph library and code to generate the graphs you want for the state the user selects, then assign a page to your custom page template.

Topic Closed

This topic has been closed to new replies.

About this Topic