3 ms·
Somewhat refreshingly, this is apparently not using any framework or libraries. Would have been madness a decade or two ago, but now it seems to work well for a
by joan_kode 7y ago
Somewhat refreshingly, this is apparently not using any framework or libraries. Would have been madness a decade or two ago, but now it seems to work well for a small project like this, the source is pretty readable (though the single js file is a bit on the large side): https://github.com/adewes/epidemic https://github.com/adewes/epidemic
Also, I have no idea what the numbers on the X axis represent for the first few graphs. It seems like it should be "days", but the numbers are all over the place.
- ThePhysicist 7y agoThanks! I think frameworks are overkill for such small projects, setting up a full project e.g. using React, Babel, Webpack, D3 and SASS would have taken me longer than I needed to finish this whole project, I think :D Most modern browsers have really good support for JS and CSS so you don't need any additional libraries. It's the date on the first graph, I'll add a more obvious format that will be readable for English/US speakers as well (in Germany/Europe the date format is often dd.mm).