This ReactJs project is designed to visualize data via a combined bar and linear graph based on the data fed by the API (currently Norweigan housing prices)
- Custom Filters: Easily check interval changes based on housing type and yearly quarter ranges.
- Interactive/Dynamic Graph: A graph that updates data real-time and has interactive features.
- Consensual History Tracking: Maintain a record of all filter requests made in the browser's local storage. (which is preserved until cleared by user themselves)
- Shareable Results: The results obtained from fitlering can be shared with any other user by sharing the url with the parameters
To install and run the project, follow these steps:
- Clone the repository:
git clone https://github.com/kenshanta/graph-housing-prices.git
- Install dependencies:
npm install
- Start the server:
npm start
- Access the application in your web browser at
http://localhost:5173
.
- Checkout the live demo
- Lazy Load Custom Chart Component
- add Test via jest
- Storybook ?
- Data & API both are provided by Statistics Norway
- Made possible using ChartJS and React-Chart-JS-2