# Data Visualization (DV) Course - HW4
***Data visualizing using D3.js***  
***By: Almouhannad Hafez***
## How to run:
```node
npm install
npm run dev
```

## Contents:
1. Scatterplot with filter by level and tooltip
1. LineChart with filter by starting year and tooltip
1. Using abstract class `chart.ts` and factory pattern based on map in `chartFactory.ts` and `chartsNames.ts`files
1. `main.ts` file does not depent on any strictly typed chart

## Future improvements:
- Add `register` method to Charts in order to achieve Open-closed principle in `chartFactory` class