A web application to visualize and filter policies using various criteria such as status, topic, and location. Features include a policy line chart, dark/light theme toggle, and filter reset functionality.
- Policy Filtering: Filter policies by status, topic, and location.
- Line Chart: Visualize policies introduced over time using
amCharts
. - Dark/Light Mode: Toggle between dark and light themes.
- Reset Filters: Easily clear all selected filters.
git clone https://github.com/kaleem-elahi/policy-webapp.git
cd policy-webapp
First, Install the dependencies:
npm install
Second, run the JSON API server to retrieve the JSON data locally:
npm run serve
(check here after runnning the command: http://localhost:5050)
Third, Open new tab of terminal, start the development server by running this command:
npm run dev
visit http://localhost:3000 in your browser to see the result.
and Done 🚀 !