steveteoh.github.io

Welcome to Steve Teoh’s Public Health Monitoring Repo - Covid-19 (Hot!!!)

Last Updated: 19/12/2023
Created: 26/08/2021

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 COVID-19.

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}
]}


Covid-19 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 13/12/2023, 18/07/2022, 09/05/2022),
    Ver 4.4.0.1 of Klang Valley now supports selection of dates using the request format:
    https://steveteoh.github.io/diseases/covid/KlangValley/?date=20220716
    The rest just shows the map using the latest data.

    Klang Valley

  2. Johor (last updated 18/07/2022, 08/05/22),
  3. Kedah (last updated 18/07/2022, 08/05/22),
  4. Kelantan (last updated 18/07/2022, 08/05/22),
  5. Melaka (last updated 18/07/2022, 08/05/22),
  6. Negeri Sembilan (last updated 18/07/2022, 08/05/22),
  7. Pahang (last updated 18/07/2022, 08/05/22),
  8. Penang (last updated 18/07/2022, 08/05/22),
  9. Perak (last updated 18/07/2022, 08/05/22),
  10. Perlis (last updated 18/07/2022, 08/05/22),
  11. Sabah (last updated 18/07/2022, 08/05/22),
  12. Sarawak (last updated 18/07/2022, 08/05/22),
  13. Terengganu (last updated 18/07/2022, 08/05/22),
  14. Wilayah Persekutuan

    Kuala Lumpur (last updated 13/12/2023, 18/07/2022, 08/05/22),

    Putrajaya (last updated 13/12/2023, 18/07/2022, 08/05/22),

    Labuan (last updated 13/12/2023, 18/07/2022, 08/05/22).

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.

<—Deprecated —>

Covid-19 Hex Maps for Selangor Districts

Below are standalone maps for Selangor districts:

  1. Ampang Jaya (last updated 18/07/2022, 08/05/22),
  2. Hulu Langat (last updated 18/07/2022, 08/05/22),
  3. Hulu Selangor (last updated 18/07/2022, 08/05/22),
  4. Klang (last updated 18/07/2022, 08/05/22),
  5. Kuala Langat (last updated 18/07/2022, 08/05/22),
  6. Kuala Selangor (last updated 18/07/2022, 08/05/22),
  7. Petaling Jaya (last updated 18/07/2022, 08/05/22),
  8. Sabak Bernam (last updated 18/07/2022, 08/05/22),
  9. Selayang (last updated 18/07/2022, 08/05/22),
  10. Sepang (last updated 18/07/2022, 08/05/22),
  11. Shah Alam (last updated 18/07/2022, 08/05/22), and
  12. Subang Jaya (last updated 18/07/2022, 08/05/22).

Covid-19 Hex Maps for Wilayah Persekutuan Districts

Below are standalone maps for Wilayah Persekutuan districts:

  1. Kuala Lumpur (last updated 18/07/2022, 08/05/22),
  2. Putrajaya (last updated 18/07/2022, 08/05/22), and
  3. Labuan (last updated 18/07/2022, 08/05/22).

Covid-19 Hex Maps for Penang Districts

Below are standalone maps for Penang districts:

  1. Penang state (last updated 18/07/2022, 08/05/22),
  2. Penang island (last updated 18/07/2022, 08/05/22), and
  3. Seberang Perai (last updated 18/07/2022, 08/05/22).

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