HPI Demo

HPI Chart Installation

  1. Extract the archive
  2. Upload the www/dist directory somewhere publically available on the freddiemac.com domain.
  3. On the page where the chart should be displayed, add a tag where it will be rendered:
  4. <div data-freddiemac-chart="hpi" data-states="/path/to/data/state.xls" data-msas="/path/to/data/msa.xls"></div>
  5. Add the script tag once anywhere on the page (recommend at the end)
    <script src="/path/to/dist/assets/embed-freddie-mac-chart.js"></script>

Updates

When updating, you will be able to replace all the files in the www/dist directory.