Skip to content

cid-harvard/react-zoomable-bar-chart

Repository files navigation

react-zoomable-bar-chart

This project contains the code for the rough prototype for building out the Zoomable Comparison Bar Chart for Harvard's Cities Atlas.

This package is part of Harvard Growth Lab’s portfolio of software packages, digital products and interactive data visualizations. To browse our entire portfolio, please visit The Viz Hub at growthlab.app. To learn more about our research, please visit Harvard Growth Lab’s home page.

Runnig the prototypes

  • To run the prototypes, first cd into the root directory and run npm i
  • Then cd into /example and run npm i there as well
  • Then while you are still in /example you can run npm start and the prototypes will be running off of the specified localhost port

Deploying the prototypes to Github pages

  • Once all of your changes have been committed and pushed, make sure to cd into the root directory
  • From there, run npm run deploy and the prototypes will be built and pushed to Github pages

Note: This project was bootstrapped with create-react-library purely for the built in structure of rapidly depolying test code to static Github pages. This project is not currently an npm module.

License

MIT © The President and Fellows of Harvard College