steveteoh.github.io

Welcome to Steve Teoh’s Public Health Monitoring Repo - Dengue

Last Updated:
Created:

Welcome to Steve Teoh’s public health github page. This page highlights the shared sources available in https://steveteoh.github.io/diseases/ for demo and educational purposes. It is a public-domain CSR with National Institute of Health to help monitor the spread of Dengue.

Data Sources

Map Data Last Updated: 01/01/2024
14-day active cases data is sourced from mysejahtera app through api lookup. Contact the author for info about how to extract data from mysejahtera.
Note: Latest Mysejahtera json format as of 27/9/2022 (changes in the sequence of elements):

{"hotSpots":[
{"disease":"RABIES","displayName":{"enUS":"Human Rabies","msMY":"Rabies dalam manusia"},"iconUri":"/hotspot/icons/rabies.svg","activeCases":0,"radiusInMeters":1000.0,"durationInDays":90},
{"disease":"TB","displayName":{"enUS":"Tuberculosis","msMY":"Tibi"},"iconUri":"/hotspot/icons/TB.svg","activeCases":0,"radiusInMeters":1000.0,"durationInDays":60},
{"disease":"DENGUE","displayName":{"enUS":"Dengue","msMY":"Denggi"},"iconUri":"/hotspot/icons/dengue.svg","activeCases":0,"radiusInMeters":200.0,"durationInDays":14},
{"disease":"ANIMAL_RABIES","displayName":{"enUS":"Animal Rabies","msMY":"Rabies dalam haiwan"},"iconUri":"/hotspot/icons/rabiesCircle.svg","activeCases":0,"radiusInMeters":5000.0,"durationInDays":180},
{"disease":"HFMD","displayName":{"enUS":"Hand, Foot & Mouth Disease","msMY":"Penyakit Tangan, Kaki & Mulut?"},"iconUri":"/hotspot/icons/HFMD.svg","activeCases":0,"radiusInMeters":5000.0,"durationInDays":7},
{"disease":"COVID-19","displayName":{"enUS":"COVID-19","msMY":"COVID-19"},"iconUri":"/hotspot/icons/COVID19.svg","activeCases":0,"radiusInMeters":1000.0,"durationInDays":14},
{"disease":"MEASLES","displayName":{"enUS":"Measles","msMY":"Demam Campak"},"iconUri":"/hotspot/icons/measles.svg","activeCases":0,"radiusInMeters":1000.0,"durationInDays":25}
]}


Dengue Hex Maps for Malaysia

(Legend and styles updated) (New) Below are state-level maps for :

  1. Klang Valley (Selangor, Kuala Lumpur dan Putrajaya) (last updated 01/01/2024),
    Ver 4.4.0.1 of Klang Valley now supports selection of dates using the request format:
    https://steveteoh.github.io/diseases/dengue/KlangValley/?date=20240101
    The rest just shows the map using the latest data.

    Klang Valley

  2. Johor (last updated 01/01/24),
  3. Kedah (last updated 01/01/24),
  4. Kelantan (last updated 01/01/24),
  5. Melaka (last updated 01/01/24),
  6. Negeri Sembilan (last updated 01/01/24),
  7. Pahang (last updated 01/01/24),
  8. Penang (last updated 01/01/24),
  9. Perak (last updated 01/01/24),
  10. Perlis (last updated 01/01/24),
  11. Sabah (last updated 01/01/24),
  12. Sarawak (last updated 01/01/24),
  13. Terengganu (last updated 01/01/24),
  14. Wilayah Persekutuan
    Kuala Lumpur (last updated 01/01/24),
    Putrajaya (last updated 01/01/24),
    Labuan (last updated 01/01/24).

Note:

  1. The javascripts are minified and obfuscated for faster performance. Kindly email me on the link below if you wish to have the raw code.
  2. Some maps may be too large (Sarawak, Sabah, Pahang) and hence the performance and display on the client side will be extremely slow, particularly when the markers are enabled. A server side clustering solution is available.

Dengue Hex Maps for Wilayah Persekutuan Districts

Below are standalone maps for Wilayah Persekutuan districts:

  1. Kuala Lumpur (last updated 01/01/24),
  2. Putrajaya (last updated 01/01/24), and
  3. Labuan (last updated 01/01/24).

Dengue Hex Maps for Penang Districts

Below are standalone maps for Penang districts:

  1. Penang state (last updated 01/01/24),
  2. Penang island (last updated 01/01/24), and
  3. Seberang Perai (last updated 01/01/24).

General Note: The javascripts are minified and obfuscated for faster performance. Kindly email me on the link below if you wish to have the raw code.

Built With

🤝 Contribution and Support

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Version History

Hex Map for Malaysia - latest revision is 4.5. Note: Kindly email me on the link below if you wish to have the raw code.

License

MIT

Author

Steve Teoh (B.S, MSc, PhD, PTech, MIET, SMIEEE)

Issues and Contact

Kindly contact Steve Teoh at @teohcheehooi or email to Steve