@caxy4 , @heypaxton -
I've committed a basic proof of concept for Highcharts.js integration on the zipcode detail pages. But I imagine one of you will want to take on the cleanup/refactoring that I'm certain will be needed.
What I've done:
Added the necessary Highcharts dependencies
I have added a very basic Frontmatter to JSON converter
Here's where it gets UGLY! Take a look at the bottom of the default.html template. I'm creating a variable for each data point we'll need access to in our JS, printing the zip codes frontmatter variable and converting it to json.
All worthwhile because I've noticed structural updates that I'll need to make.
Fixing the issue with currency Brett referenced in his last comment.
Rolled all "data" variables into a frontmatter array and updated the JS to pull in that array as a single JSON object so individual data variables can be accessed as data.variable_name
@caxy4 , @heypaxton - I've committed a basic proof of concept for Highcharts.js integration on the zipcode detail pages. But I imagine one of you will want to take on the cleanup/refactoring that I'm certain will be needed.
What I've done:
All worthwhile because I've noticed structural updates that I'll need to make.
Laugh away...